Error while validating model function prototypes for model
Afficher commentaires plus anciens
Hi, Does anyone know what the following error means and how to deal with it?
"Error while validating model function prototypes for model: The storage class of the signal connected to port 'Out1' is a non-Auto storage class, thus the generated code is not Function Prototype Control feature compliant."
Currently, I have set the data type of the signal that goes to output port 'Out1' to boolean.I also tried setting it to Auto, but the error still appears when I try to generate code from the model.
Thanks!
3 commentaires
Kaustubha Govind
le 7 Mar 2013
Are any upstream signals set to have a non-Auto storage class? Upstream signals are those emanating from blocks that are before the 'Out1' block in the signal flow.
Rahul
le 8 Mar 2013
Nazneen Sayyad
le 17 Oct 2019
I am facing the same problem. How did you resolve?
Réponses (1)
Juan Reyes
le 7 Juil 2016
0 votes
Specify your signals code generation options->storage class as "auto"
Catégories
En savoir plus sur Texas Instruments C2000 Processors 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!