From: Sunny Billava on 17 Jun 2010 01:56 Hi, I want to keep the model loaded in the workspace even if model is closed using x-button or File->Close. As i need the handles to the simulink objects to persist even if the model is accidentally closed. So i was wondering if that is actually possible or not.... Can any one please tell me how this can be done? Thanks, Sunny
From: Steven Lord on 17 Jun 2010 09:49 "Sunny Billava" <billava.sunny(a)gmail.com> wrote in message news:hvcddk$4s1$1(a)fred.mathworks.com... > Hi, > > I want to keep the model loaded in the workspace even if model is closed > using x-button or File->Close. > > As i need the handles to the simulink objects to persist even if the model > is accidentally closed. So i was wondering if that is actually possible or > not.... > > Can any one please tell me how this can be done? Look at the CloseFcn entry in the table on this page: http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/f23-7515.html -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
From: Sunny Billava on 18 Jun 2010 11:15 "Steven Lord" <slord(a)mathworks.com> wrote in message <hvd94s$bgo$1(a)fred.mathworks.com>... > > "Sunny Billava" <billava.sunny(a)gmail.com> wrote in message > news:hvcddk$4s1$1(a)fred.mathworks.com... > > Hi, > > > > I want to keep the model loaded in the workspace even if model is closed > > using x-button or File->Close. > > > > As i need the handles to the simulink objects to persist even if the model > > is accidentally closed. So i was wondering if that is actually possible or > > not.... > > > > Can any one please tell me how this can be done? > > Look at the CloseFcn entry in the table on this page: > > http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/f23-7515.html > > -- > Steve Lord > slord(a)mathworks.com > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ > To contact Technical Support use the Contact Us link on > http://www.mathworks.com > Hi Steve, after the CloseFcn call back, the model still closes. This wont serve my purpose untill there is a command to abort close. Problem: I want the model to remain loaded so that the handles to simulink objects dont get corrupt. Thanks, Sunny
|
Pages: 1 Prev: About volume data in isosurface function Next: How safe are P-code files? |