フィルターのクリア

Why is embedded Matlab function no longer outputting to screen during runtime if I leave a semi-colon out at end of line. This use to work for debugging.

1 回表示 (過去 30 日間)
ML
ML 2020 年 9 月 30 日
回答済み: Priysha LNU 2020 年 10 月 7 日
I have a new install of Matlab 2020a. I've just noticed that if I leave out a semi-colon at the end of a line in an embedded Matlab function in simulink, it is no longer outputting the answer of the line to the screen. This use to work in older version of Matlab. Is there a setting that would enable this in the new 2020a?

回答 (1 件)

Priysha LNU
Priysha LNU 2020 年 10 月 7 日
Try displaying values using "DISP" or set breakpoints in the Embedded MATLAB Function.
For debugging an Embedded MATLAB Function block, try selecting "Enable Debugging" from the Debug menu.
See Debugging a MATLAB Function Block for more information.
Related MATLAB Answers links :
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

カテゴリ

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