Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Unable to connect to target: intermittent error while executing External Mode MEX-file 'rtwinext' not enough memory on target

$
0
0
I am trying to run a motor with a piece of Simulink code. At random situations I cannot connect to target and receive the following error. I have not changed the code or the set up and yet sometimes I am able to connect and run the motor and other times I cannot connect.

Is it possible that this is a licensing error? I have set the configuration parameters:
solver options: fixed-step, discrete
Tasking mode: singletasking
Fixed step size: 0.001 <--and I have checked that my blocks are set to this size.

"Error occurred while executing External Mode MEX-file 'rtwinext': Not enough memory on target. Please try to decrease the Duration parameter in External Mode Control Panel."


Any thoughts? Recommendations?
Thanks,
Jessica

Viewing all articles
Browse latest Browse all 19628

Trending Articles