sfunction デバッグ

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

2 comentarios

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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Block and Blockset Authoring en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 28 de Mzo. de 2023

Comentada:

el 3 de Abr. de 2023

Community Treasure Hunt

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

Start Hunting!