필터 지우기
필터 지우기

Rerun Simulink without compiling

조회 수: 8 (최근 30일)
matquest
matquest 2018년 3월 12일
댓글: matquest 2018년 3월 12일
I have some code which uses Simulink and I've noticed that Simulink re-compiles every time I run the code. It takes almost 5 minutes for it to compile which adds quite a bit of overhead, especially if I'm just trying to debug matlab code.
I'm guessing that there's some setting to enable/disable the compilation, but unfortunately I haven't been able to find it. How can I disable the automatic compilation and just manually compile it when I need to?

답변 (1개)

Sara Nadeau
Sara Nadeau 2018년 3월 12일
Hi matquest,
You can enable fast restart using the FastRestart model parameter .
  댓글 수: 1
matquest
matquest 2018년 3월 12일
Thanks; I'll try it and see how it works. Does it only allow a fast-restart during a single matlab session or can it accept compiled code from a previous session? (e.g., I open matlab, compile and run, close matlab, and then reopen and run the code)

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

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by