MATLAB Answers

Error while validating model function prototypes for model

11 ビュー (過去 30 日間)
Rahul
Rahul 2013 年 3 月 7 日
コメント済み: Nazneen Sayyad 2019 年 10 月 17 日
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 件のコメント
Nazneen Sayyad
Nazneen Sayyad 2019 年 10 月 17 日
I am facing the same problem. How did you resolve?

サインインしてコメントする。

回答 (1 件)

Juan Reyes
Juan Reyes 2016 年 7 月 7 日
Specify your signals code generation options->storage class as "auto"

Community Treasure Hunt

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

Start Hunting!

Translated by