I am using Simulink R2014a and Google Chrome. I executed these commands for the first time:
>> vdp>> slwebview(gcs)
Then my default browser (Google Chrome) launches without displaying the Web view. Instead it displays the following output:
*Unsupported Browser*Simulink Web View cannot be viewed in Google Chrome because of local file security restrictions. To allow local file access, try the following:*Microsoft Windows*
Click on the Windows start button and search for "Chrome"
Right-click and drag "Google Chrome" search result to an open area. Select "Create shortcuts here".
Right-click the newly created "Google Chrome" shortcut and select properties.
Click the "Shortcut" tab.
In the target edit box, append "--allow-file-access-from-files", with no quotes.
Click OK to dismiss property dialog.
Verify Google Chrome is no longer running.
Double-click on the newly created shortcut to start Google Chrome.*Macintosh*
Run Terminal.app.
Type "open /Applications Google\ Chrome.app --allow-file-access-from-files", with no quotes.*Linux*
Start terminal.
Type "./chromium-browser --allow-file-access-from-files", with no quotes.
I am following the above steps rigorously but the browser still displays the same steps instead of the Web view. How can I display the Web view of my model?
Best Answer