sfunction デバッグ

s-function builderを用いてCコードのシミュレーション環境を構築してます。コード内の変数の値を確認したいので、 https://jp.mathworks.com/matlabcentral/answers/505405-s-function-builder のご回答にある添付ファイルをそのまま試してみました。しかし、シミュレーションを実行してもvisual studio でブレークしません。他に設定することはありますか。環境はMATLAB2021a Visual studio2019です。

2 Commenti

Toshinobu Shintai
Toshinobu Shintai il 28 Mar 2023
私もよく「ブレークしない」現象に直面することがあります。この時、再起動して手順をやり直すと上手く行く場合があります。
参考までにですが、R2022bにて、以下のツイートで紹介されている新しいデバッグ方法であれば、安定してデバッグできますのでおすすめです。
taka
taka il 3 Apr 2023
ご回答ありがとうございます。 参考情報を試してみます。

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Block and Blockset Authoring in Centro assistenza e File Exchange

Prodotti

Release

R2021a

Richiesto:

il 28 Mar 2023

Commentato:

il 3 Apr 2023

Community Treasure Hunt

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

Start Hunting!