Why is running a script from the Mac Terminal much slower than in the MATLAB Command Window?
Show older comments
I have some code where I load in some data, build a waterfall plot, and then print that plot using the "print" command (with the `-dpng` and `-r300` arguments set).
When I run the script from the Command Window, it takes 60 seconds to run. When I run the same script from the command line (Terminal), it takes ~760 seconds to run.
$ /Applications/MATLAB_R2016a.app/bin/matlab -nodisplay -nosplash < test_waterfall.m
Why is running the script from the Terminal so much slower?
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!