sfunction デバッグ
10 views (last 30 days)
Show older comments
s-function builderを用いてCコードのシミュレーション環境を構築してます。コード内の変数の値を確認したいので、 https://jp.mathworks.com/matlabcentral/answers/505405-s-function-builder のご回答にある添付ファイルをそのまま試してみました。しかし、シミュレーションを実行してもvisual studio でブレークしません。他に設定することはありますか。環境はMATLAB2021a Visual studio2019です。
2 Comments
Toshinobu Shintai
on 28 Mar 2023
私もよく「ブレークしない」現象に直面することがあります。この時、再起動して手順をやり直すと上手く行く場合があります。
参考までにですが、R2022bにて、以下のツイートで紹介されている新しいデバッグ方法であれば、安定してデバッグできますのでおすすめです。
Answers (0)
See Also
Categories
Find more on Block and Blockset Authoring in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!