How to covert char to param.Continuous for optimization?
古いコメントを表示
The sim command encountered an error when setting the model parameter value defined by the parameter object 'model:StopTime', the error was: 'Cannot convert from 'char' to 'param.Continuous'.'.
8 件のコメント
José-Luis
2017 年 8 月 30 日
I have no idea what you are talking about. Please be clearer.
KL
2017 年 8 月 31 日
Also please select the code you pasted and click on the {} Code button.
Jan
2017 年 8 月 31 日
Please use the "{} Code" button to make the code readable. Don't you see that its formatting is ugly?
I cannot see where "the following error" is mentioned. Please post the complete error message. Give the readers a chance to help you.
RK
2017 年 8 月 31 日
José-Luis
2017 年 8 月 31 日
Have you tried using the debugger?
Which is the offending line? I, for one, don't feel like trudging to your code and you have not provided the data that would allow us to run it.
RK
2017 年 8 月 31 日
I haven't run your model too but just searching the term "param.Continuous" takes me to
Probably you're making a mistake either in those lines where you change the Free and Minimum property or
heating.Parameters=[toa;psw;gswoa;csw];
in this line altogether. Read more about the experiment class maybe
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink Design Optimization についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!