When I start MATLAB and type the following commands at the MATLAB command prompt:
clear functionsinmem
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.
Best Answer