I get an error using hg export whenever I try to save a figure
41 views (last 30 days)
Show older comments
So I have matLab 2015B been using it close to a year now and I just recently got this error message. Everytime I try to save a figure as an eps file (or anything other than .fig for that matter). the error is using hg export. It tells me it cannot execute the SCRIPT print as a functioni It is very frustrating because I cannot save my figures to use in LaTex
0 Comments
Accepted Answer
Steven Lord
on 29 Feb 2016
Most likely you wrote your own print.m script file (or you downloaded a print.m script that someone else wrote) that's preventing MATLAB from calling its PRINT function. Rename the script file to something that is not an existing MATLAB function name. You can use WHICH to check if the name you want to use is already in use.
More Answers (1)
See Also
Categories
Find more on Interactive Control and Callbacks 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!