Specifications
3 Designing Controllers Using the Design Tool GUI
3-46
Dialog Box for Saving a Controller Design Project
The default behavior saves the current project (named Project - CSTR_MPC in this
case) in a MAT-file (called CSTR_MPC here). If the design tool had contained other
projects, they would appear in the list, and you could select the ones you wanted to save.
The MAT-file will be saved in the default folder. To verify the location, click the Browse
(...) button and change the folder if necessary. When ready to save, click OK.
Load Your Saved Work
The following assumes that you've saved a project as described in the previous section. To
reload this project, close the design tool if it's open. Also clear any mpc objects from your
workspace. (Type whos at the MATLAB prompt for a list of objects.) For example, if MPC1
and MPC2 are in your workspace, type
clear MPC1 MPC2
to clear (remove) them.
If you've closed the CSTR_MPC model, open it. Double-click the MPC Controller block to
open its mask, and verify that the MPC Controller parameter is set to MPC2.
Note If you were to attempt to run the CSTR_MPC model at this stage, an error dialog box
would indicate that the MPC Controller block was unable to initialize. The MPC2 object
specified in the block mask must be loaded into your workspace or be part of an active
design tool task.