Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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

Réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by