Effacer les filtres
Effacer les filtres

Sample time of function call subsystem in state chart

3 vues (au cours des 30 derniers jours)
Useok
Useok le 11 Juil 2013
Commenté : snow John le 6 Juin 2019
Hello.
I'm trying to make a program operated in two states.
As you can see in the figure, there is two states and each states have its own algorithm embedded in simulink function block.
The algorithm consist of several blocks with different sampling time using rate transition blocks.
However, there is simultion error with function call in state chart describing 'Only constant (inf) or inherited (-1) sample times are allowed in function call subsystem ~~'.
Is it impossible to implement the algorithm with various sampling time into the function call subsystem in the state chart?
  1 commentaire
snow John
snow John le 6 Juin 2019
Hello sir,
I encountered the same problem recently,Can you tell me how to fix it?
I am looking for your help.
Best regards!
-John

Connectez-vous pour commenter.

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 11 Juil 2013
The error is basically complaining that in the Simulink Functions 'Homing' and 'Operating', you have non-constant or non-inherited sample times. I don't think there is a way around this limitation.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by