Clear command

Hi,
Scenario: Model having sub-systems with callbacks.
Problem: Do not want any callback to execute a clear command & delete any variable in the workspace. or to at least detect that a clear command was executed.
So the question is, is there a possible documented or undocumented way to know that a clear command was executed(sort of an event)?
Thanks & Regards, Sunny R Billava

답변 (1개)

Walter Roberson
Walter Roberson 2011년 5월 2일

0 개 추천

I don't know about Simulink, but at the MATLAB level, you could use onCleanup() calls.

댓글 수: 1

Sunny Billava
Sunny Billava 2011년 5월 2일
Hi Walter,
Thank you for your prompt reply.
Apologies on my part, I forgot to mention the matlab version : MATLAB 2006b.
& I guess this call is not available in 2006b. :(

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Desktop에 대해 자세히 알아보기

태그

질문:

2011년 5월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by