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

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by