Simulink error: All inputs must be constant.
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey,
I receive the following error message when trying to run the Simulink model.
All inputs must be constant.
P-code function 'p_file.p' produced an error.

Code of the Matlab Function Block:
function y = fcn(m,n)
y = p_file(m,n)
I can run p_file(1,12) from workspace without any problem.
Thank you for any suggestions!
5 commentaires
Walter Roberson
le 1 Juin 2016
Modifié(e) : Walter Roberson
le 1 Juin 2016
Sorry, I do not know about that.
Does the p_file use the signal processing toolbox?
Réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!