How can I clear locked functions from memory?
Show older comments
When I start MATLAB and type the following commands at the MATLAB command prompt:
clear functions
inmem
I obtain the following result:
ans =
Empty cell array: 0-by-1
Now if I simulate a model, for example "sf_car", and type the following at MATLAB command prompt:
sim('sf_car')
bdclose all
clear functions
inmem
I recieve the following result while I expect an empty array:
ans =
'simulink\private\slpmloadfunction'
'slsfnagctlr'
'slroot'
'signalselector'
'sigandscopemgr'
'modelrefsiglog'
I want to clear these functions from memory.
Accepted Answer
More Answers (0)
Categories
Find more on Scope Variables and Generate Names in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!