I was able to successfully run FAST using Simulink interface (sample files). After the run is completed, ‘pitcntrl.plt’ is created along with few other files. I’m trying to delete ‘pitcntrl.plt’ but not able to do so. Because it says "Unable to delete file: “…\pitcntrl.plt” because it is being used by MATLAB.
I tried “fclose(‘all’)” in Matalb, it returned “zero” indicating successful operation. Even then not able to delete “pitcntrl.plt”. Google search shown some memory leak issue fix in 2002 by Jonkman. Because of this, everytime i’ve to close matlab and re-open.
When i try to run the same simulation again (w/o deleting the pitcntrl.plt) file, run exits with the below message.
OpenFOutFile:Cannot open file “pitcntrl.plt”. Another program like MS Excel may have locked it
I’m using Matlab R2015b.
Appreciate any help in this regard.