how to use syntax "sdo.ParameterSpace"

1 view (last 30 days)
CHEN
CHEN on 28 Mar 2014
Answered: Arkadiy Turevskiy on 31 Mar 2014
I try to do sensitivity analysis in my study case. Because my result of simulink design optimization had some problems in design variables. So i followed the guide "Sensitivity Analysis of simulink design optimization" to type code to do. But in the "sdo.ParameterSpace" syntax, the matlab command window showed the error of Undefined variable "sdo" or class "sdo.ParameterSpace". So what is wrong with me? Could someone offer some suggests for me. Thanks

Answers (3)

Arkadiy Turevskiy
Arkadiy Turevskiy on 28 Mar 2014
Could it be that you do not have a license of Simulink Design Optimization? Please type
>>ver
and see if Simulink Design Optimization is in the list, and if it is, what version do you have. Sensitivity analysis capabilities were introduced in R2014a, so unless you have this latest version, you won't be able to do it.

CHEN
CHEN on 31 Mar 2014
As you know, my version is R2012b. does it mean that i would not use any syntax about sensitivity analysis? but i still have some questions about sensitivity. according to the Sensitivity Analysis
sdo.getParameterFromModel Design variable for optimization sdo.getStateFromModel Initial state for estimation from Simulink model sdo.sample Generate parameter samples sdo.evaluate Evaluate cost function for samples sdo.analyze Analyze how model parameters influence cost function sdo.scatterPlot Scatter plot of samples makedist Create probability distribution object sdo.ParameterSpace Specify probability distributions for model parameters
i could use sdo.getParameterFromModel , sdo.getStateFromModel & sdo.ParameterSpace why could i use those syntax in R2012b? thanks for you help

Arkadiy Turevskiy
Arkadiy Turevskiy on 31 Mar 2014
I actually did not know your version until you provided that info. Again, sensitivity analysis capabilities did not exist in R2012b, so you would not be able to use them in that release. To see which commands are available in R2012b please refer to doc in the product itself, or online here and here .

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!