displayWebPage - display a webpage in Matlab figure or panel
버전 1.0.0 (45.2 KB) 작성자:
Yair Altman
Display a web-page URL in a Matlab figure or UI container (panel, tab etc.), updating the displayed browser contents as needed.
Syntax:
hContainer = displayWebPage(url, parent)
Description:
displayWebPage() with no input parameters displays the UndocumentedMatlab.com homepage in a figure window.
displayWebPage(url) displays the specified webpage in a figure window.
displayWebPage(url, title) displays the specified webpage in a figure window that has the specified title, creating a new figure if no such figure is found. If the figure is found and already contains an embedded browser, its contents are updated with the new web-page. Otherwise, a new browser is added to the figure, and then loads the specified webpage.
displayWebPage(url, hContainer) displays the specified webpage in the specified container handle (figure, uipanel, uitab, etc.). If the specified handle is not valid, the webpage is displayed in the system browser.
hContainer = displayWebPage(...) returns the browser's container handle
Usage examples:
displayWebPage % display UndocumentedMatlab.com homepage in a figure window
displayWebPage('google.com') % display google.com in a figure window
displayWebPage('http://google.com', 'Browser') % display in 'Browser' figure
displayWebPage('http://google.com', uipanel) % display in specified panel
hContainer = displayWebPage('http://google.com'); % return the figure handle
Note:
In some cases when the specified webpage URL is invalid, the browser might hang, causing excessive CPU load. Closing/deleting the browser container (e.g. its figure window) will dispose the browser and restore CPU to normal.
Additional information: https://UndocumentedMatlab.com
인용 양식
Yair Altman (2024). displayWebPage - display a webpage in Matlab figure or panel (https://www.mathworks.com/matlabcentral/fileexchange/118465-displaywebpage-display-a-webpage-in-matlab-figure-or-panel), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2022a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0 |
|