Cannot run Referenced model in accelerator mode

조회 수: 38 (최근 30일)
Jake Gareau
Jake Gareau 2024년 11월 19일 23:18
댓글: Gayathri 2024년 11월 20일 3:19
I am unable to run a referenced model in accelerator, I have no issue doing so when the model is opened as the top model but once it is included in another model and individually set to accelerator while the rest of the model is set to normal, then it doesnt work.
Invalid run-time parameter registration in S-function 'sfun_spssw_discc' in model 'MyModel'. An S-function can register run-time parameters only if the S-function is being inlined. To be able to reference the model 'MyModel', the S-function 'sfun_spssw_discc' needs to set the option SS_OPTION_USE_TLC_WITH_ACCELERATOR and it needs to have a TLC file.
I am not intentionally using any S - functions so I am a little unsure what to do with this error message
  댓글 수: 1
Gayathri
Gayathri 2024년 11월 20일 3:19
@Jake Gareau, Can you provide the simulink models so that I can take a look to find the issue.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by