Undefined function or variable 'fcn2optimexpr'.
显示 更早的评论
Hi All,
I am new to MATLAB and I am using the problem-based approach to solve my optimization problem.
I tried to use the "fcn2optimexpr" function to convert my objective funtion into optimization expression. But getting the following error: "Undefined function or variable 'fcn2optimexpr'."
I am using MATLAB 2018b. Is it not included in the 2018b version?
Thanks in advance.
回答(1 个)
Walter Roberson
2019-5-6
0 个投票
No, that is new in R2019a.
2 个评论
Mitali Sinha
2019-5-6
Walter Roberson
2019-5-6
There isn't one. You have to know how problem based queries are structured and you have to understand older style routines and you have to probe the information in the problem based approach to figure out how to represent it.
If I recall correctly the problem based approach calls different internal routines (that perhaps call some routines in common) rather than take the approach of calling an internal conversion function and then call the older routines with that problem structure.
类别
在 帮助中心 和 File Exchange 中查找有关 Improve Problem-Based Organization and Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!