Matrix multiplication in simscape leads to very long compile time in simulink. Possibility to accelerate?
Show older comments
I have to compute a matrix multiplication. The dimension of the matrices is 15x15. For testing purpose I created a simscape component with two matrices A and B in the parameter part and a matrix C in the variable part; all dimension 15x15. In the equation part C==A*B; is computed.
If I run a simulink model using this component it stays at "Compiling : Evaluating Block Parameters : Completed" for several minutes. For small matrices it is fast.
Why is the compile time so long and is there a possibility to accelerate it?
Thank you for answers!
Answers (0)
Categories
Find more on Simscape 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!