フィルターのクリア

Can't examine variables in Matlab Function Block in Debug Mode

5 ビュー (過去 30 日間)
RICARDO SEGALLA
RICARDO SEGALLA 2018 年 1 月 20 日
コメント済み: Rubem Pacelli 2019 年 7 月 25 日
I am trying to debug a function that is inside a matlab function block. When the simulation stops in a breakpoint that I set in the function, I am not able to examine the values assigned to any structures. Moreover, I can't examine the values of the variables in the workspace of this function.
Does anybody know why this is happening and how can fix this problem ?
I attached to this question a screen shot of the worskapce when I get inside this function

回答 (1 件)

Rubem Pacelli
Rubem Pacelli 2019 年 7 月 25 日
I think you can't examine the variables from the Workspace. To see the variables, follow the options listed in Watching Function Variables During Simulation in this topic:
  1 件のコメント
Rubem Pacelli
Rubem Pacelli 2019 年 7 月 25 日
Furthermore, you can type
open var
To see the variable var like a Workspace

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by