How can I increase the optimization with intermediate temporary expressions during the use of the function "matlabFunction"
Ältere Kommentare anzeigen
Hello,
I am working on a linked chain model using symbolic notation with MuPad. After I create the matrix of the model in MuPad, I reassigne it in the Matlab notebook with the function "getVar" then I create a function with "matlabFunction".
The matrix I calculate are quite big (more than 1Mo text) and something is bothering me, I find tha the optimization of the function with intermediate temporary expressions to be very light. I wish to know if there is a trick that would help me increase the number of intermediate function. Or maybe a way to rearange the matrix before exporting it with matlabFunction.
I attached a file for example.
Thank you in advance.
Antworten (2)
Walter Roberson
am 6 Nov. 2015
0 Stimmen
1 Kommentar
Mathias Blandeau
am 6 Nov. 2015
Bearbeitet: Mathias Blandeau
am 6 Nov. 2015
Mathias Blandeau
am 23 Nov. 2015
0 Stimmen
Kategorien
Mehr zu Common Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!