Unable to generate Simulink report in WebView in Windows 11 Google Chrome and Microsoft Edge

20 views (last 30 days)
I am generating a Webview Simulink Report following this example: https://www.mathworks.com/help/releases/R2021b/rptgenext/ug/slwebview.html. I follow all the steps in the "Unsupported Browser" page and append the "--allow-file-access-from-files" flag but the "Unsupported Browser" message keeps showing up. I am using Windows 11 and I have tried both Google Chrome and Microsoft Edge. It works fine in Windows 10. How can fix this problem?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 11 Mar 2022
Check for the following and try opening the report in Google Chrome or Microsoft Edge again:
  1. The 'webview' HTML report is generated with other file dependences (contained in the stylesheets and support folders). Ensure the 'webview.html' report and the dependent folders are in the same directory/location.
  2. Make sure the "Run as Administrator" option is selected in 'Properties' > 'Advanced' option for the modified Google Chrome and Microsoft Edge shortcuts.
  3. Make sure ALL Google Chrome and Microsoft Edge browser windows are closed including tasks running in the background. Double check processes running in the Task Manager and end any Google Chrome or Microsoft Edge tasks.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!