Undefined function or variable 'fcn2optimexpr'.
Ältere Kommentare anzeigen
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.
Antworten (1)
Walter Roberson
am 6 Mai 2019
0 Stimmen
No, that is new in R2019a.
2 Kommentare
Mitali Sinha
am 6 Mai 2019
Walter Roberson
am 6 Mai 2019
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.
Kategorien
Mehr zu Improve Problem-Based Organization and Performance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!