Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: "Not enough memory on target"
Replies: 1   Last Post: Jan 28, 2013 8:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
trabbie

Posts: 2
Registered: 12/5/11
"Not enough memory on target"
Posted: Jan 7, 2012 1:06 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.