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.
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.
Create a shortcut that opens Chrome™ with the --allow-file-access-from-files
flag.
For example, on Windows® 10:
Click the Start key and type
Chrome
.
In the search results, right-click Chrome and select Open file
location
.
From the list of applications, drag Chrome to your desktop.
Right-click the shortcut and select Properties.
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:
Close all open Chrome browsers.
Open a Chrome browser by using the shortcut that includes the
--allow-file-access-from-files
flag.
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.
Run Terminal. You can find it using Spotlight, in Applications/Utilities.
Enter the following text:
open/Applications Google\Chrome.app --allow-file-access-from-files
Run terminal.
Enter the following text:
./chromium-browser --allow-file-access-from-files
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.
Click a block or signal in the model to see its parameters or properties in the Object Inspector pane.
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.