How do I configure my model to read model workspace variables?
4 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am running a simple model in Simulink and I want to optimise it.
I have used the Model Explorer to set the Variables I want to optmized, and named the respective Gain blocks accordingly.
However, when in the Response Optimisation, I click to select Design Variables Set -> click on New, an error comes up which says:
The model does not use any base or model workspace variables. Configure the model to use base or model
workspace variables for optimization.
I thought by following the above procedure, I have already configured my model as such. So how can I configure my model to run optimisation?
Thanks for your help in advance,
KMT.
0 个评论
回答(2 个)
Marco
2017-10-4
Hello, If in your model, you don't need to use some workspace variable it is not necessary to optimize your model also for this part.
BR Marco
Mazin Mogadem
2020-9-9
brother i'm now facing the same problem of you, if you please find an answear please share it
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manual Performance Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!