MATLAB Answers

Error while validating model function prototypes for model

8 views (last 30 days)
Rahul
Rahul on 7 Mar 2013
Commented: Nazneen Sayyad on 17 Oct 2019
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 Comments

Kaustubha Govind
Kaustubha Govind on 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
Rahul on 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.

Sign in to comment.

Answers (1)


Translated by