New INstallation of MatLAb Student, error when I try to run an example linopt::minimize from the documentation
Afficher commentaires plus anciens
I am typing in the first example from the linopt:minimize documentation, and I get an error. Does this mean that my student version can't run the optimizer?
EDU>> clear all
EDU>> linopt::minimize([{c1+c2<=3, c2 <=9}, -c1 - c2])
linopt::minimize([{c1+c2<=3, c2 <=9}, -c1 - c2])
|
Error: Unexpected MATLAB operator.
Réponses (1)
Walter Roberson
le 12 Nov 2013
The command you found is for MuPAD, the symbolic engine used by the Symbolic Toolbox. You need to call the symbolic engine in order to use it.
feval(symengine, 'linopt::minimize', {sym('c1+c2<=3'), sym('c2<=9')}, sym('-c1 - c2'))
1 commentaire
Lance
le 13 Nov 2013
Catégories
En savoir plus sur Get Started with MuPAD dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!