Display and Navigate a Web View

Display a Web View When You Export It

When you export a Web view using the Web View dialog box or from the Report Explorer Web View pane, the Web view appears in your system web browser.

Open a Web View File in a Web Browser

To open a Web view file to display in a web browser, navigate to the folder that contains the Web view files, then open the webview.html file. For details about file packaging and location, see Web View Files.

Before you can open a Web view file in a Google Chrome™ browser, you must set up the browser to allow the Web view file to access files and subfolders in the Web views folder. The setup depends on the platform that you use.

Open a Web View in a Google Chrome Browser on a Windows Platform

Create a shortcut that opens Chrome™ with the --allow-file-access-from-files flag. For example, on Windows® 10:

  1. Click the Start key and type Chrome.

  2. In the search results, right-click Chrome and select Open file location.

  3. From the list of applications, drag Chrome to your desktop.

  4. Right-click the shortcut and select Properties.

  5. Append --allow-file-access-from-files to the contents of the Target box. Be sure to use two hyphens at the beginning and to put a space between the existing content and the content that you append. Click OK.

To open a Web View file:

  1. Close all open Chrome browsers.

  2. Open a Chrome browser by using the shortcut that includes the --allow-file-access-from-files flag.

  3. Open the Web view file in the open Chrome browser. For example, drag the file to the browser or right-click the file and select Open with > Google Chrome.

Open a Web View in a Google Chrome Browser on a Macintosh Platform

  1. Run Terminal. You can find it using Spotlight, in Applications/Utilities.

  2. Enter the following text:

    open/Applications Google\Chrome.app --allow-file-access-from-files

Open a Web View in a Google Chrome Browser on a Linux Platform

  1. Run terminal.

  2. Enter the following text:

    ./chromium-browser --allow-file-access-from-files

View Contents of a System

To see a thumbnail of the contents of all of systems in the Web view, click the View All tab.

To view the contents of a specific system, use one of these approaches:

  • In the model viewer, double-click the system.

  • In the model browser, select a system. To expose this pane, click Hide/Show Model Browser .

  • Click the View All tab and click the thumbnail of a system.

To open a system in a separate tab, press CTRL and click the system.

View Block Parameters and Signal Properties

Click a block or signal in the model to see its parameters or properties in the Object Inspector pane.

Access Optional Web View Information

To view the model coverage optional Web view information in a Web view, you must have Simulink® Coverage™ installed. To view the requirements optional Web view information in a Web view, you must have Simulink Requirements™ installed. To access the information, click a highlighted block (for example, blocks with an orange border have requirements information). The information for that block appears in the Informer pane below the model.

See Also

Functions

Related Topics