フィルターのクリア

What does this mean? -- Simulation of default block diagram is not allowed

6 ビュー (過去 30 日間)
ying xiong
ying xiong 2017 年 5 月 30 日
コメント済み: Carlos Domínguez 2021 年 10 月 1 日
I want to use the App designer to run my Simulink modle, and I use "set_param( modlename,'SimulationCommand','start');", but I get this bug " Simulation of default block diagram is not allowed". What does this mean, and how can I solve it?

回答 (2 件)

Abel Babu
Abel Babu 2017 年 6 月 2 日
編集済み: Abel Babu 2017 年 6 月 2 日
Hi Ying,
Maybe you can first try connecting to the model and then do the simulation. The code then would look like this:
set_param (model_name, 'SimulationCommand', 'connect');
set_param (gcs, 'SimulationCommand', 'start')
Abel
  2 件のコメント
ying xiong
ying xiong 2017 年 6 月 2 日
Hi Abel, Thank you! But I just try your suggestion, the error still exists.
Carlos Domínguez
Carlos Domínguez 2021 年 10 月 1 日
Hi, I have the same problem. Have you another suggestion to this bug?

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


Yukun Lau
Yukun Lau 2018 年 9 月 12 日
I get the bug same with you, have you got the answer

カテゴリ

Help Center および File Exchange事件函数 についてさらに検索

Community Treasure Hunt

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

Start Hunting!