Generate MATLAB Code from Linear Analysis Tool
When computing operating points using the Linear Analysis Tool, you can generate a
MATLAB script for configuring operating point specifications and computing an operating
point. To do so:
(^1) In the Linear Analysis Tool, on the Linear Analysis tab, in the Operating Points
drop-down list, click Trim Model.
(^2) In the Trim the model dialog box, on the Specifications tab, configure the operating
point state, input, and output specifications. For an example, see “Compute
Operating Points from Specifications Using Linear Analysis Tool” on page 1-41.
(^3) In the Options tab, specify search optimization settings. For more information, see
“Change Operating Point Search Optimization Settings” on page 1-69.
(^4) To generate code that creates an operating point using your specifications and search
options, click Generate MATLAB Script.
The generated code opens in the MATLAB Editor.
See Also
Functions
findop | operspec
Apps
Linear Analysis Tool | Steady State Manager
See Also