Simulink error: All inputs must be constant.
13 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2016 年 6 月 1 日
編集済み: Walter Roberson
2016 年 6 月 1 日
Sorry, I do not know about that.
Does the p_file use the signal processing toolbox?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!