From: Jimmy on
I developed a simulink block which consists of subsystem and Embedded Matlab function using MatlabR2008b/Simulink ver. 7.2. After running several simulations, the system freezes up. No error message reported by Matlab. When I looked at the Matlab window, it is in the process of compiling the embedded Matlab. If successful, the next line in the process should be "1 file(s) copied". But instead it just "stuck" in the compiling process.

If I forced stop the program by hitting ctrl+C, then reboot Matlab, and then try to run the simulation again, it displays an error message saying that the files are in used by other program (or something along the line). I will need to reboot the PC for the problem to go away.

This unexpected error did not occur when I tested the software using Matlab R2009b/Simulink version 7.4.

Any idea folks?

thank you