Clear command

12 次查看(过去 30 天)
Sunny Billava
Sunny Billava 2011-5-2
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
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. :(

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by