how to invoke a function in generated s function code?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
In the generated code after building Sfunction builder, in the function mdlInitializeSampleTimes() I have to call a user defined function. What settings I have to do so that it will be automatically calling the user defined function inside mdlInitializeSampleTimes()?
2 comentarios
Walter Roberson
el 23 de En. de 2013
How were you thinking of allowing the user to define the function? As best I recall at the moment, Simulink does not allow function handles to be passed.
Respuestas (0)
Ver también
Categorías
Más información sobre Integrate C/C++ Code Using S-Function Builder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!