Fast Restart can not be enabled as profiling is turned on

16 ビュー (過去 30 日間)
Tong Zhao
Tong Zhao 2022 年 2 月 25 日
回答済み: Tong Zhao 2022 年 2 月 26 日
I have a simulink model that runs fine otherwise. But when I started to try the 'Fast Restart' feature, it gives the following warning:
Fast Restart mode cannot be enabled for model 'models' for the following reasons:
Component:Simulink | Category:Model warning
Fast Restart can not be enabled as profiling is turned on.
Component:Simulink | Category:Model warning
fastrestartwarning
I am sure that I'm not in the Simulink Profiler mode, however this warning does not go away. Any ideas? Version is MATLAB 2021b.
p.s. I am aware that Fast Restart is not compatible with Simulink Profiler, as documented here. But I am not using Simulink Profiler, why is there a conflict?

採用された回答

Tong Zhao
Tong Zhao 2022 年 2 月 26 日
I solved my own problem. The problem was that somehow the Simulink profiler was on in the background, and to manually turn it off, I used :
set_param(gcs,'Profile','off');
And then restart the simulink model, it worked.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by