필터 지우기
필터 지우기

Simulink: Run model again without recompiling

조회 수: 29 (최근 30일)
Mari
Mari 2013년 6월 12일
Hello!
How do I set up my model so that it only needs to be compiled once and can then be run multiple times? My model takes about 1-2 minutes for compiling and initializing, and then only a couple of seconds to run the simulation, so simply using the previously generated compilation should bring much better performance...

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2013년 6월 12일
Would you perhaps want to consider referencing your model as part of another test harness model (see Model Reference). If the referenced model is setup to run in Accelerator mode, the C-code for it is only generated once and won't need to be re-compiled unless there are structural or dependency changes.

David Sanchez
David Sanchez 2013년 6월 12일
  댓글 수: 1
Mari
Mari 2013년 6월 12일
I read this already, but it didn't really help. According to this description, the model only needs to be compiled once. The problem is that my model is recompiled every time I run it.

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

카테고리

Help CenterFile Exchange에서 Component-Based Modeling에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by