matlabFunction keeps running forever
1 view (last 30 days)
Show older comments
Hello all,
I have a Jacobian matrix of 5420-by-5420 which contains symbolic expressions. Then I use matlabFunction to make the Jacobian a function handle. However, it keeps running forever. I don't know if it is freezed/hanged. The sample code is below.
jac=matlabFunction(Jacobian, 'Vars',{[h],[y],[x0],[Pload],[Qload]});
What is the reason that it keeps running? Could anyone please help me regarding this? Thanks in advance.
2 Comments
Walter Roberson
on 25 Jul 2020
You are asking it to create more than 25 million elements... it is going to take a while.
Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT-Files 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!