Problem running Gain-Scheduled Control of a Chemical Reactor example
1 view (last 30 days)
Show older comments
Hello,
I'm attempting to run the 'Gain-Scheduled Control of a Chemical Reactor' example in the robust control library and get the hierarchy of errors,
Undefined variable "linearize" or class "linearize.ModelLinearizationParamMgr.getInstance".
Error in opcond.AbstractOperatingPoint/update (line 34) ModelParameterMgr = linearize.ModelLinearizationParamMgr.getInstance(this.Model);
Error in operspec (line 108) update(op,false);
Error in GainScheduledProcessExample (line 37) opspec = operspec('rct_CSTR_OL');
When searching my Matlab files, I have 6 functions called 'linearize.m'. Could it be the example is calling the wrong one? Has anyone gotten this example to run?
Thanks!
1 Comment
Thomas Langerwerf
on 11 Jun 2015
I did get this error when attempting to linearize a simulink model. Apparently, Simulink's Contol Design toolbox is necessary for this, this is a separate toolbox not included in the 'Control Systems Toolbox'.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!