Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

2 visualizaciones (últimos 30 días)
Christian Nowak
Christian Nowak el 4 de Mzo. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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?

Respuestas (1)

Jemima Pulipati
Jemima Pulipati el 7 de Jul. de 2020
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.

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by