How to save symbolic computation results safely?
Show older comments
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.
Answers (1)
Walter Roberson
on 14 Nov 2011
0 votes
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.
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!