Simulink Control Design™ - MathWorks

(Tuis.) #1

Query type, specified as 'Exact'.


Description — Query description
'Blocks that are Analytically Linearized' (default) | character vector


Query description, specified as 'Blocks that are Analytically Linearized'. You
can add your own description to the query object using this property.


Usage


After creating a linqueryIsExact query object, you can:



  • Find all the blocks in a LinearizationAdvisor object that are linearized using their
    defined exact linearization by using the linqueryIsExact query directly with the
    find command.

  • Create a CompoundQuery object by logically combining the linqueryIsExact query
    with other query objects.


Object Functions


find Find blocks in linearization results that match specific criteria


Examples


Find All Blocks Linearized Using Exact Linearization


Load the Simulink model.


mdl = 'scdspeed';
load_system(mdl)


Linearize the model and obtain the LinearizationAdvisor object.


opts = linearizeOptions('StoreAdvisor',true);
io(1) = linio('scdspeed/throttle (degrees)',1,'input');
io(2) = linio('scdspeed/rad//s to rpm',1,'output');
[sys,op,info] = linearize(mdl,io,opts);
advisor = info.Advisor;


linqueryIsExact
Free download pdf