How do I debug mask initialization code in Simulink?
古いコメントを表示
My Simulink model contains a mask with the following initialization code:
plot
test_var=1
When this code executes after changing a dialog parameter in the mask, the plot command should cause an error, however, no error message is displayed in the MATLAB command window. I tried using the following command to debug code execution:
dbstop if error
However, this did not work.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Author Block Masks についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!