Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

2 Ansichten (letzte 30 Tage)
Christian Nowak
Christian Nowak am 4 Mär. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 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?

Antworten (1)

Jemima Pulipati
Jemima Pulipati am 7 Jul. 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.

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by