Calling a matlab script with arguments on the linux commandline
Show older comments
I am trying to call a matlab script which takes a single argument (a file path), loads and generates plots from the data. I am hitting the "Error: Invalid use of operator." error, even though this script runs fine within a matlab GUI instance, what am I doing wrong?
(base) bash-4.2$ ~/apps/MATLAB/R2020b/bin/matlab -nosplash -nodesktop -r "~/git/oceanObs/evaluate/make_levels.m('~/Shared/200428_data_OceanObsAnalysis/200913_210216_local_robust_1950_FLRdouble_sptg_200913_79pres1000.mat');"
MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) >
Copyright 1984-2020 The MathWorks, Inc.
R2020b Update 3 (9.9.0.1538559) 64-bit (glnxa64)
November 23, 2020
To get started, type doc.
For product information, visit www.mathworks.com.
/home/duro/git/oceanObs/evaluate/make_levels.m('/home/duro/Shared/200428_data_OceanObsAnalysis/200913_210216_local_robust_1950_FLRdouble_sptg_200913_79pres1000.mat');
|
Error: Invalid use of operator.
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!