running matlab files directly from external editor using cmd commands

조회 수: 12 (최근 30일)
Ashim
Ashim 2018년 2월 1일
Hi all,
I am using Pspad for coding usually. Now, Pspad offers the option to use Matlab as an external compiler using the arguments
Compiler: C:\Program Files\MATLAB\R2017a\bin\win64\matlab.exe
parameters: -nosplash -nodesktop -nojvm -useStartupFolderPref -r "%DosDir%%Name%%Ext%"
default directory: C:\Program Files\MATLAB\R2017a\bin\win64
log file: %Name%.log
run after compilation: & pause
Using these parameters, I am able to start the Matlab in the minimum compiler version, however I get the following error
D:\Delft\SURFDR~1\MATLAB\Current\PROJEC~1\wind4Bladed.m
|
Error: Unexpected MATLAB operator.
I have played around with the options, however I am unable to find the right way that Matlab recognises the file and allows it to run. Any help on this topic is appreciated. The same settings apply to Emacs or any other editor, so I am guessing that someone would have used similar inputs to use their favourite editor
PS: I know the general methods of running Matlab files, so please don't comment on those lines.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by