How to run a MATLAB file without opening the MATLAB GUI?
Hello,
I am trying to test a batch file that runs matlab with an input file
the batch file is one line:
"C:Program FilesMATLABR2024bbinmatlab.exe" -noFigureWindows -minimize -nosplash -r "c:tmptesttest_matlab_no_GUI_batch.m"
the MATLAB file is:
a=6;
b=7;
c=a+b;
dlmwrite(‘c:tmptestHFSS_Batchtest_matlab_no_gui.txt’,c)
I would expect to see the "test_matlab_no_gui.txt" file in "c:tmptest" folder.
I am not. what am I missing?
Thank youHello,
I am trying to test a batch file that runs matlab with an input file
the batch file is one line:
"C:Program FilesMATLABR2024bbinmatlab.exe" -noFigureWindows -minimize -nosplash -r "c:tmptesttest_matlab_no_GUI_batch.m"
the MATLAB file is:
a=6;
b=7;
c=a+b;
dlmwrite(‘c:tmptestHFSS_Batchtest_matlab_no_gui.txt’,c)
I would expect to see the "test_matlab_no_gui.txt" file in "c:tmptest" folder.
I am not. what am I missing?
Thank you Hello,
I am trying to test a batch file that runs matlab with an input file
the batch file is one line:
"C:Program FilesMATLABR2024bbinmatlab.exe" -noFigureWindows -minimize -nosplash -r "c:tmptesttest_matlab_no_GUI_batch.m"
the MATLAB file is:
a=6;
b=7;
c=a+b;
dlmwrite(‘c:tmptestHFSS_Batchtest_matlab_no_gui.txt’,c)
I would expect to see the "test_matlab_no_gui.txt" file in "c:tmptest" folder.
I am not. what am I missing?
Thank you gui, matlab gui, batch MATLAB Answers — New Questions