sample time in c-mex function
Afficher commentaires plus anciens
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....
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Block and Blockset Authoring dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!