필터 지우기
필터 지우기

Code Gen with Embedded coder

조회 수: 1 (최근 30일)
Gyanaranjan Pattanaik
Gyanaranjan Pattanaik 2011년 7월 12일
Hello, I have a model containing reference models and S-function. I don't want to generate code for the S-function in my main model but want to generate interface for it. Is there a way to suppress the code gen of a particular block inside a model.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 7월 13일
You could simply write a TLC script for the S-function (see Inlining S-Functions) and do nothing inside the Outputs function.
  댓글 수: 1
Gyanaranjan Pattanaik
Gyanaranjan Pattanaik 2011년 7월 17일
Thanks, I was able to do it. Is it also possible to suppress the code gen from a subsystem too.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by