how to clean the Command Line after pushing the button simulation start in Simulink?

1 回表示 (過去 30 日間)
Ubaldo Tiberi
Ubaldo Tiberi 2012 年 4 月 18 日
Hello everybody...
I cannot figure out how to do that. I wish to clean the command line window of Matlab after I pressed start on a simulink model. I tried to add the clc command inside several call-back functions of my model, but it does not seems to work. Could you please help me? Thanks,
Ubaldo

回答 (2 件)

Titus Edelhofer
Titus Edelhofer 2012 年 4 月 18 日
Hi Ubaldo,
which release and operating system are you using? I just tried (Win, R2012a), and it works fine: Menu File->Model Properties->Callbacks, enter clc for the start function ...
Titus

Jan
Jan 2012 年 4 月 18 日
"It does not seem to work" - does this mean that it is working?
Did you use the debugger to see, if one of the callbacks and especially the CLC command is called?

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by