필터 지우기
필터 지우기

2012b Disable function

조회 수: 1 (최근 30일)
Varun Nayyar
Varun Nayyar 2023년 9월 1일
답변: Varun 2023년 9월 12일
My embedded coder is generating disable functions with _Disable but this never gets called. How do I remove them?
I looked into some articles in the forum and found a solution (below) but this is not applicable for the version 2012b
As per my knowledge it is generating for triggered sub systems.
Appreciate any help in this regard.
Thanks,
Varun

답변 (1개)

Varun
Varun 2023년 9월 12일
Hi Varun,
Looks like you are getting “disable functions” auto generated while using embedded coder something like this “xyz_Disable” and you are using MATLAB version R2012b.
The feature “Remove disable function” got introduced in MATLAB version R2016b.
Here are the steps you can follow to enable “remove disable function” in MATLAB version R2016b or later:
  1. Set Configuration Parameters > Code Generation > System target file parameter to an ERT-based system target file, such as “ert.tlc”.
  2. Go to Configuration Parameters > Code Generation > Interface and check the option “remove disable function”.
Hope this helps.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2012b

Community Treasure Hunt

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

Start Hunting!

Translated by