new print syntax does not work
Show older comments
Print command before used to be print -dpdf ...
Now it takes arguments in paranthesis print('-dpdf')
The new sysntax does not work for me. Even when I use the print from Figure drop down menu, does not work.
Any help is appreciated. Thanks
4 Comments
Stephen23
on 15 May 2020
That is not a new syntax, MATLAB has supported function syntax for a very very long time:
Steven Lord
on 15 May 2020
What does "does not work" mean?
- Do you receive warning and/or error messages? If so the full and exact text of those messages (all the text displayed in orange and/or red in the Command Window) may be useful in determining what's going on and how to avoid the warning and/or error.
- Does it do something different than what you expected? If so, what did it do and what did you expect it to do?
- Did MATLAB crash? If so please send the crash log file (with a description of what you were running or doing in MATLAB when the crash occured) to Technical Support using the telephone icon in the upper-right corner of this page so we can investigate.
Vahid
on 15 May 2020
Steven Lord
on 15 May 2020
Let's make sure you're using the correct version of the printopt function. What does this command display?
which -all printopt
Looking in printopt ... I seem to remember an Answers post recently where someone was having trouble calling the system_dependent function though I can't find that post now at a quick search. Was that you? If so that problem may be related to the failure in printopt, since printopt can call system_dependent on Windows.
Answers (0)
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!