How to save symbolic computation results safely?

4 vues (au cours des 30 derniers jours)
Ding Liu
Ding Liu le 14 Nov 2011
Hi,
I have run some symbolic computation codes, and it took quite a long time. So I am thinking how to save the results safely. Is the save function enough? I mean, save the results as .mat file.

Réponses (1)

Walter Roberson
Walter Roberson le 14 Nov 2011
Symbolics are a bit tricky, because they might involve variables defined at the MATLAB level, and they might involve variables defined at the MuPAD level.
At the MATLAB level, you can use save() to store variables that have symbolic values.
At the MuPAD level, you can use the _save() function in MuPAD (e.g., evalin(symengine,...) , possibly passing it the results of the MuPAD anames() function. Please note that the MuPAD _save() function does not produce .mat files.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by