Can`t build S-Function with parameter in subsystem

조회 수: 3 (최근 30일)
Sutida Kerdsuwan
Sutida Kerdsuwan 2022년 2월 8일
답변: Sourav Karmakar 2022년 2월 14일
Dear all,
i have to try to build the s-function within the parameter subsystem that can not generate input and output port in s-function in matlab 2018a.
In this below shown the warning in matlab command window
Could you please suggest me some way to generate s-function block?
Thank you
  댓글 수: 1
Benjamin Thompson
Benjamin Thompson 2022년 2월 8일
You can use the S-Function builder to configure an S-Function block in Simulink, or legacy code tool in MATLAB. Do you have any more information about your problem specifically? Can you post files or code?

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

답변 (1개)

Sourav Karmakar
Sourav Karmakar 2022년 2월 14일
Hey Sutida ,
As per my understanding, you were facing issue while building S-Functions with parameters in subsystem of your Simulink model and want to generate the same in some other way. So, if you can provide me the source code with related files and models, then I will try to build it in my end for further progress.
Anyway, you can build S-Functions automatically using S-Function Builder in Simulink or else use Legacy Code Tool in MATLAB.
Hope this helps!

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by