Quantcast
Channel: MATLAB Central Newsreader - tag:"figure"
Viewing all articles
Browse latest Browse all 117

Re: Print figures to a specified folder

$
0
0
On 07/18/2017 10:36 AM, Stephen Devlin wrote:
...

> When using print remember the filename has to include the pathname
>
> filename=([file_str5,'Die1'])
> print(['/Users/imagexpertinc/Desktop/MatlabStuff/images_for_report/',filename],'-dpng','-r0')
...

Don't forget FULLFILE() and friends while building such file names; can
make handling them far simpler to code/debug by isolating the data from
the structure...

--

Viewing all articles
Browse latest Browse all 117

Trending Articles