The Control Systems Toolbox does not explicitly offer this functionality. However, you can manipulate some handle properties to obtain this result. Once the STEP function has been used to create the time response plot, first obtain the handle for the "Settling Time" UIcontextmenu option using the FINDALL function. This can be done in the following manner:
h4 = findall(gcf,'Label','Settling Time');
Once you have the handle for the "Settling Time" UIcontextmenu option, evaluate the callback associated with the handle. This callback displays the settling time on the plot, and is executed whenever the user left-clicks on the "Settling Time" option in the menu. To obtain the callback property of the "Settling Time" UIcontextmenu option, use the GET function:
A=get(h4,'Callback');
The contents of the "Callback" property includes the callback function handle and the input arguments to the function:
A = [@localCallback ] [1x1 resppack.timeplot] 'Settling Time' 'resppack.StepSettleTimeData' 'resppack.SettleTimeView'
To have this callback executed automatically, the FEVAL function is used in the following manner:
feval(A{1},h4,[],A{2:5});
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.