フィルターのクリア

running matlab files directly from external editor using cmd commands

2 ビュー (過去 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 Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by