Borrar filtros
Borrar filtros

sample time in c-mex function

3 visualizaciones (últimos 30 días)
Jagmohan singh
Jagmohan singh el 3 de Sept. de 2012
Hello, While executing a c-mex function I get algebriac loop in my simulink model. When I run this s-function individually by creating a simple s-function block and providing inputs using source blocks. Can anyone suggest me what am I doing wrong while defining s-function which leads to such kind of error? in mdlinitializes I am defining sample time as
ssSetSampleTime(S, 0, INHERITED_SAMPLE_TIME)
Thanks....

Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 4 de Sept. de 2012
Do you have a feedback loop in your model? This technical solution may help you understand the problem: What are algebraic loops in Simulink and how do I solve them?

Más respuestas (0)

Categorías

Más información sobre Block and Blockset Authoring en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by