"Maximum recursion limit of 500 reached." when loading model in Simulink

13 vues (au cours des 30 derniers jours)
Glenn
Glenn le 26 Avr 2023
Commenté : chicken vector le 26 Avr 2023
I have a subsystem reference that I have verified in a testbench, which works fine in the testbench.
When I add this subsystem to part of a (much) larger application, I am getting the following messages in the console when I try to load the model:

Réponse acceptée

chicken vector
chicken vector le 26 Avr 2023
set(0,'RecursionLimit',1000);
  2 commentaires
Glenn
Glenn le 26 Avr 2023
Thanks. I've no idea what happened to the rest of my post, or why it would complain about a recursion limit, but increasing it does seem to have fixed the problem.
chicken vector
chicken vector le 26 Avr 2023
When you use a recursive function, the default Matlab limit is set to 500 but you can change it.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by