How to save matlab workplace variables by including original file names
Afficher commentaires plus anciens
Hi I would like to know how I can save the matlab output files (i.e. matlab workplace variables), by including original file name.
e.g. I open a file (filename.matlab) with (load filename.matlab). Then I run a code to do calculation and I get some workplace variables (e.g. flow, pressure). I want to save those variables as filename_flow.mat and filename_pressure.mat.
I will use the same code on different filename, so I would like to know how I can save my variables as mentioned above (i.e. including the originalfile name)?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Share and Distribute Software dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!