Error using Horzcat. Undefined function or variable 'opaque' for input arguements of type double.
7 ビュー (過去 30 日間)
古いコメントを表示
I have a sim command which is calling my simulink model from my MATLAB script. The arguements are all assignin to the base workspace for the simulink model so it should be calling them ok.
However when trying to run the script I get the error:
Error evaluating expression '[list of inputs]' for 'Input' specified in the Configuration Parameters dialog for block diagram 'my model' : The following error occurred converting from double to opaque:
Error using horzcat
Undefined function 'opaque' for input arguements of type 'double'.
0 件のコメント
採用された回答
Fangjun Jiang
2011 年 10 月 27 日
Try to Ctrl+D (update) your model or run the simulation of your model by click the "Run" button, Simulink will report the error regarding the particular block and you need to resolve the error first.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Model Verification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!