how to save work space?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dears
I am trying to save the workspace of my simulation program, however I get this message
Not enough memory to read file contents: Java heap space
Could you please help me with this!
regards
0 commentaires
Réponses (3)
Thomas
le 26 Juil 2012
Modifié(e) : Thomas
le 26 Juil 2012
You could increase the Java Heap size as follows:
Windows:File->Preferences->General->Java heap space
Mac: MATLAB->Prefernces->General-> Java Heap Memory
Move the slider to maximum available Java Heap size and see if you still get the error
USe save or matfile to save your workspace
doc save
doc matfile
Sumit Tandon
le 26 Juil 2012
How are you saving the workspace? If you are saving variables to MAT-files, then consider using MATFILE command. It allows saving variable partially - using less memory in the process.
0 commentaires
venkat vasu
le 26 Juil 2012
save('filename','A','-append') use this code
this may be useful for you.
0 commentaires
Voir également
Catégories
En savoir plus sur File Operations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!