| Simulink® Control Design™ | ![]() |
| On this page… |
|---|
You can export and save operating points that you created and then use them in the following ways:
In a future Simulink® Control Design™ task.
With command-line functions.
To initialize a Simulink® model for simulation.
This section continues the magball example. At this stage in the example, several operating points have been created.
In Creating Operating Points from Specifications you computed an operating point from specifications.
To export it to the MATLAB® workspace:
Under the Operating Points node in the Control and Estimation Tools Manager, right-click the operating point labeled Operating Point that you computed from specifications. Select Export to Workspace.
In the Export to Workspace dialog box
Select Base Workspace to export the operating point to the MATLAB workspace.
Enter Operating_Point for the Variable Name parameter.
Click OK to export the operating point and close the dialog box.
After you have exported the operating point to the MATLAB workspace, you can save it in a MAT-file for later use. To save the operating point Operating_Point in a file named magball_operating_points.mat, enter the following command:
save magball_operating_point Operating_Point
![]() | Creating Operating Points | Linearizing Models | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |