Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using saveas (line 138) #3

Open
advanpix opened this issue Dec 3, 2018 · 0 comments
Open

Error using saveas (line 138) #3

advanpix opened this issue Dec 3, 2018 · 0 comments

Comments

@advanpix
Copy link

advanpix commented Dec 3, 2018

Please create 'pngfigs' and 'figs' directories before writing files there (in produce_perfprof).

Otherwise scripts generates error:
Invalid or missing path: pngfigs/expm_mp_perfprof_noherm_multi_0064

Corresponding code in produce_perfprof:

 % save .png
   if png_out
       filename = sprintf('pngfigs/expm_mp_perfprof_%s', filename_suffix);
       saveas(gcf, filename, 'png');
   end
    % tikz
    if tikz_out
        filename = sprintf('figs/expm_mp_perfprof_%s.tikz', filename_suffix);
        matlab2tikz(filename, 'showInfo', false);
    end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant