MATLAB Answers

Simscape compiling takes forever

6 ビュー (過去 30 日間)
Nikolai Fast
Nikolai Fast 2020 年 10 月 8 日
コメント済み: J Chen 2020 年 10 月 8 日
I have modeled a production plant in Simscape/SimMechanics. Compiling takes about 30 Minutes. I am using native Autodesk-Inventor-Files (ipt) in all File-Solids. Is there any benefit in using stp instead? Is there anything else, I can do to decrease my compiling time?

回答 (1 件)

J Chen
J Chen 2020 年 10 月 8 日
My guess is that you have too many components. Each components has associated Differential Algebraic Equations (DAEs). The Simscape solver needs to sort through and manipulate them. It takes time. Try to reduce unnecessary solids and joints.
  2 件のコメント
J Chen
J Chen 2020 年 10 月 8 日
I guess you can group many elements together as a single solid without using rigid joints. It's more work to do, of course, but the model still reflect the real system.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by