In the Export dialog box, check the models that you want to export. Click OK to export
the plant or controller to the MATLAB workspace as state-space (ss) model object or pid
object, respectively.
Alternatively, you can export a model using the context menu in the Data Browser. To do
so, click the Data Browser tab.
Then, right-click the model and select Export.
Analyze Design in PID Tuner