Filter löschen
Filter löschen

Simulink model in rapid accelerator model run using 'sim' command issue with Windows 8

3 Ansichten (letzte 30 Tage)
Hi,
I have a Simulink model I am trying to run using MATLAB R2014a in Windows 8. The Simulink has both standard MATLAB blocks and user defined function blocks. One aspect of the model is that it reads in a timeseries from file, which is 1.2GB on the hard drive. (some info: my PC has 6GB RAM and should be enough to hold this in the RAM if loaded all at once)
When I attempt to run the model by clicking the play button for a simulation length of 4400 seconds with a time step of 0.1 seconds, it works successfully. However I need to run a significant number of simulations through a script. When I try to do this using the 'sim' command, it does not seem to ever finish the first simulation. Through the Task Manager, I noticed that the simulink model executable has a 'Suspended' status when this happens. I experimented with changing the simulation length, and it will work for any simulations below 50 seconds duration. However I need to run a 4400 second simulation.
I have tried various things like changing the permissions of the executable manually but nothing seems to work. Has anyone had this problem before? Running the model through a script has worked numerous times with a Windows 7 machine, so I suspect it has something to do with Windows 8.
I appreciate any help!
Best Regards
Michael

Antworten (0)

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by