Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Is it possible to call a simulink function from inside a S-function?

조회 수: 3 (최근 30일)
Christian Nowak
Christian Nowak 2020년 3월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello,
in a project, I have a simulink function (with global acess) and a S-function generated from C-Code. Is is possible to call the simulink function from inside the S-Function? Can you tell me, how to do it?

답변 (1개)

Jemima Pulipati
Jemima Pulipati 2020년 7월 7일
Hello,
Yes, Simulink Function can be called from S-Function with the help of system methods like ssDeclareFunctionCaller and ssCallSimulinkFunction.
You can refer to this documentation of Simulink Function Callers for more information.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by