Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
trabbie
Posts:
2
Registered:
12/5/11
|
|
"Not enough memory on target"
Posted:
Jan 7, 2012 1:06 PM
|
|
Hello,
I'm trying to execute a simulation in Simulink comprising of - an embedded matlab block, which consists of 3 functions, written in embedded matlab style - 21 inputs to this block, which are taking variables from the workspace (arrays, matrices), around 4 of them having 5000...20000 entries, the rest is 'small' - 6 outputs, writing back some matrices and arrays to workspace variables
When executed in 'normal mode' it reveals exactly the results I expect, with in a couple of 1/100s. But, when executed in external mode (rtwin, on Matlab R2010b) it brings up the following error:
"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."
But even adjusting the duration parameter down to the length of one steplength (0.05s) it still brings up this error. And, important, it brings this error, when I click on 'connect to target', so there is actually no execution possible...
Any ideas?? Thanks :-)
trabbie
|
|
|
|