Azzera filtri
Azzera filtri

Error while validating model function prototypes for model

7 visualizzazioni (ultimi 30 giorni)
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 Commenti
Rahul
Rahul il 8 Mar 2013
There is a signal going to this output port "Out1". The data type of the signal is set to boolean. I also tried to set it to 'Auto', but the error still remains.
Nazneen Sayyad
Nazneen Sayyad il 17 Ott 2019
I am facing the same problem. How did you resolve?

Accedi per commentare.

Risposte (1)

Juan Reyes
Juan Reyes il 7 Lug 2016
Specify your signals code generation options->storage class as "auto"

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by