Why does getVar not return the full expression from MuPad to MATLAB?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 8 Aug. 2014
Beantwortet: MathWorks Support Team
am 8 Aug. 2014
I have a MuPad notebook which contains some expressions. If I use the 'getVar' method in MATLAB to get a MuPad expression 'x' into MATLAB, why is the expression not returned in the output? I only receive a sym object with the name of the expression that I am trying to export from MuPad.
>> v = getVar(notebookName,'x');
v =
x
Akzeptierte Antwort
MathWorks Support Team
am 8 Aug. 2014
The expression is not sent back to MATLAB because the MuPad notebook has not been evaluated after it was opened. Please evaluate the expressions that you are trying to export within MuPad and then use the getVar method to bring the expression into the MATLAB workspace.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!