How to rapidly get the values of a list of variables? #1405
Unanswered
styw1234
asked this question in
General discussion
Replies: 1 comment 1 reply
-
Things like value(recover(myconstraints)) or value(recover(whatever)), or value(recover(1:yalmip('nvars'))). Problem is of course that you have no idea which variable you just computed the value of (unless you understand by the ordering) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Usually, we can use 'value' to get the value of the variable.
For example:
a=sdpvar(1,1)
value_a=value(a)
Suppose that there are many variables which are generated by 'sdpvar'.
How to rapidly get the values of these variables ?
Is there any tip or function to get the value of a list of variables?
Beta Was this translation helpful? Give feedback.
All reactions