How to create new variables
Show older comments
I now calculate this program.
options = optimoptions('fmincon', 'Display','iter','Algorithm','interior-point');
[x,fval] = fmincon(@(x)mindistance(x,x0),x0,A,b,Aeq,beq,lb,[],[],options)
I want to create new variables for example, x,x0,etc. Please tell me how to do it.
Accepted Answer
More Answers (1)
ES
on 6 Sep 2013
do you mean to do
eval('x=0')?
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!