sfunction デバッグ

10 views (last 30 days)
taka
taka on 28 Mar 2023
Commented: taka on 3 Apr 2023
s-function builderを用いてCコードのシミュレーション環境を構築してます。コード内の変数の値を確認したいので、 https://jp.mathworks.com/matlabcentral/answers/505405-s-function-builder のご回答にある添付ファイルをそのまま試してみました。しかし、シミュレーションを実行してもvisual studio でブレークしません。他に設定することはありますか。環境はMATLAB2021a Visual studio2019です。
  2 Comments
Toshinobu Shintai
Toshinobu Shintai on 28 Mar 2023
私もよく「ブレークしない」現象に直面することがあります。この時、再起動して手順をやり直すと上手く行く場合があります。
参考までにですが、R2022bにて、以下のツイートで紹介されている新しいデバッグ方法であれば、安定してデバッグできますのでおすすめです。
taka
taka on 3 Apr 2023
ご回答ありがとうございます。 参考情報を試してみます。

Sign in to comment.

Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!