필터 지우기
필터 지우기

How can I reduce the compiling time taken in a matlab simulink model?

조회 수: 6 (최근 30일)
Federico Rosellini
Federico Rosellini 2017년 1월 25일
댓글: Bowen Zhang 2021년 7월 8일
Hello everyone,
I have a problem with my Simulink model. When I try to run the simulation, the compiling process takes a very long time (about 10 minutes!), then the simulation runs normally. This problem started when I introduced a "Distributed Parameter Line" block in my model.
Is there a way to fix this problem? I have a model version 1.76 R2016b.
Thanks for the attention. Federico

답변 (1개)

Easwar Kumar Yarrabikki
Easwar Kumar Yarrabikki 2017년 1월 25일
  • Try Using Accelerator mode in Simulink. Also try to run model from MATLAB Script. like, sim('MyModel') % it will run your simulink model from script.
  • I would perform a quick sanity check before I feed data into the model, Because sometime solver doesn't like zeros and negative number's.
  댓글 수: 3
Matthias Liermann
Matthias Liermann 2021년 6월 11일
I have the same problem at the moment. What did you do to solve it?
Bowen Zhang
Bowen Zhang 2021년 7월 8일
I have same problem about this, when I introduced "Distributed Parameter Line", it always took me more than 1 hour to compile

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by