Simulink parameters for Sensitivity Analysis

6 views (last 30 days)
I am a complete novice when it comes to sensitivity analysis. I am using Matlab R2017b and Simulink / Sensitivity Analysis tool in order to analyze my neural network model (Multiple inputs and outputs).
However, I am having trouble getting properly started. I have trained the network using normalized data (as suggested in some posts in this forum) but when I enter the Sensitivity Analysis tool, I do not get any parameters showing up in the Parameter set window. How am I supposed to get parameters to show up in there and actually perform some analysis? I have not been able to find clear cut instructions from the documentation for this. The example videos I've seen already have those parameter fields populated.
So I think the problem is somehow with my Simulink model, but I don't know what to do.
In the model window itself, I have added some constant blocks, a random block, step function block and a multi-port switch for my inputs. I am confused as to how to continue from here.
The constant, random and step function blocks connect to the multi-port switch which connects to my ANN (generated with the fitting tool). Simulating this and plotting a graph produces what I would expect step function to produce in this context.
Any pointers as to how to get the parameters to show up for my Simulink model and how to actually perform Sensitivity analysis is welcome! I am flat out of ideas.

Accepted Answer

Sebastian Castro
Sebastian Castro on 27 Sep 2017
For Sensitivity Analysis to pick up a parameter, it needs to be a variable. For example, if you define
myParam = 2;
and then use that in a Gain block, it will come up as a selectable parameter in the Sensitivity Analysis tool.
... not sure how this would work with the Neural Network Toolbox blocks, but you can try?
- Sebastian

More Answers (0)

Community Treasure Hunt

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

Start Hunting!