Matlab command window to DOS command prompt - running matlab from batch

11 ビュー (過去 30 日間)
Davide
Davide 2014 年 6 月 27 日
コメント済み: dpb 2014 年 6 月 27 日
I learned how to run matlab files from DOS batch files waiting for matlab to finish before starting another matlab file etc... Everything really nice. BUT what I can't do (yet) is "moving" the messages matlab writes in the command window to the DOS command prompt. I know that with the parameter '-logfile filename' I could save everything in some logfile, but I would prefer not to have log file remaining and just getting the command window printed on the screen.
For better understanding this is the general command I'm sendind now:
matlab -wait -nosplash modeOption -nodesktop -r "matlabfilename;quit" -noFigureWindows -minimize
where the ";quit" allows me to close automatically the matlab window once the script is finished.
Thanks!
  1 件のコメント
dpb
dpb 2014 年 6 月 27 日
What are you trying to accomplish?
Piping output to another process?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by