MATLAB was unable to launch your System web browser (eg:web('h​ttps://git​hub.com'))

15 ビュー (過去 30 日間)
lijiong Chen
lijiong Chen 2021 年 10 月 22 日
コメント済み: ABHISHEK 2023 年 10 月 8 日
When i tried the code :web('https://github.com'),it outputs :Warning: MATLAB was unable to launch your System web browser.
How can i solve the problem?
Thank you!
  2 件のコメント
Jan
Jan 2021 年 10 月 22 日
What exactly is the problem? Do you really need to use the MATLAB web browser? Why not using the browser installed in the operating system? Can you open the documentation? Which OS and Matlab version are you using?
lijiong Chen
lijiong Chen 2021 年 10 月 23 日
編集済み: lijiong Chen 2021 年 10 月 23 日
Hello,
  1. I am using plotly with MATLAB for interactive drawing, the output is a .html file. The result file can not be automatically opened by the MATLAB web browser nor the System web browser. I have to view it manually which was not convenient.
  2. The documentation can be opened normally.
  3. OS:Win10; MATLAB version:2021b.
Example:
t = linspace(0,1,1000);
plot(t, sin(2*pi*t*20), '-');
plotly_fig = fig2plotly(gcf, 'offline', true, 'filename', 'sine wave');
Warning: MATLAB was unable to launch your System web browser
Thank you!

サインインしてコメントする。

採用された回答

Kshitij Chhabra
Kshitij Chhabra 2021 年 11 月 3 日
Hi lijiong,
I understand that you are trying to use the "web()" function to access a given URL but are trying to getting an error. Can you give exact steps as we weren't able to replicate this issue on our end with the MATLAB version R2021b.
Alternatively, I can recommend you to ensure that you have System Web Browser ticked in the Preferences section.
Please refer to the following documentation page : Web Browsers and MATLAB - MATLAB & Simulink (mathworks.com)
  3 件のコメント
ABHISHEK
ABHISHEK 2023 年 10 月 8 日
I am facing the same issue and yes the tick mark is present
ABHISHEK
ABHISHEK 2023 年 10 月 8 日
i dont even use any proxy server

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by