|On this page…|
To export a Web view, use the Web View dialog box. The way you access the dialog box differs, depending on whether you are using the Simulink® Editor or the Report Explorer. You can also open the dialog box from the command line.
|Interface||What You Do|
|Select File > Export Model to > Web.|
Select Tools > Export Simulink to Web.
Use the slwebview function without arguments.
Open the model to export.
In the Simulink Editor, select File > Export Model to > Web.
In Systems to Export, select the levels of the model to export, in relationship to the system currently displayed or chart currently selected in the Simulink Editor.
For the systems in the levels that you are exporting, in Include Options, select any kinds of systems you want the Web viewer user to be able to navigate below the Subsystem or Model block, to the underlying blocks or models.
If you select more than one kind of system, the criteria for exporting information for interacting with the contents of the systems are applied downward through the model hierarchy. For example, if you left Referenced Models unchecked when you exported the model, regardless of how you set the Library Links option, in the Web view you cannot interact with a library link block that is inside of a referenced model.
In the Systems to Exclude list of the systems you have selected to export, select any systems that you do not want to export.
To avoid overwriting existing exported Web view files, select If file exists, increment name to prevent overwriting.
In Package Type, specify whether you want to package the Web view as a zipped file (the default packaging). In Package name, you can specify a name for the zip file or for the folder for the Web view files.
Note: If you use the Web View export option in the Report Explorer Properties pane, then click Export model. If you change the visible system or chart while the Report Explorer Web View pane is visible, the pane does not automatically change to show information about the newly visible system. To update the Web View pane, click Refresh.