can you embed MATLAB figures into webpage?

28 ビュー (過去 30 日間)
William Renold-Smith
William Renold-Smith 2025 年 3 月 17 日
回答済み: William Renold-Smith 2025 年 3 月 18 日
I have a series of surf plots that i would lke to embedd into a webpage maintaining the functionality to select points/zoom/rotate. Does matlab offer anything that can enable this? the best i could find was an old FX post (https://uk.mathworks.com/matlabcentral/fileexchange/32207-matlab-3d-figure-to-3d-x-html) but this doesnt really meet my needs.

回答 (3 件)

Les Beckham
Les Beckham 2025 年 3 月 18 日
You can use Matlab Compiler to create Web Apps. Perhaps that would meet your need?
  1 件のコメント
William Renold-Smith
William Renold-Smith 2025 年 3 月 18 日
Hi Les, thats an interesting thought but looking into it that solution needs for running a web app server, which will stop me using it in the application I want as i need the results to be easily accessible widely without the need to host on a server.
I appreciate your help though!

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


Walter Roberson
Walter Roberson 2025 年 3 月 18 日
Your options:
  1 件のコメント
Steven Lord
Steven Lord 2025 年 3 月 18 日
Another option could be to provide the script or function that creates the plots, or a saved figure file with the plots, to the user and let them use MATLAB Online or MATLAB Online Basic to create/interact with them.

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


William Renold-Smith
William Renold-Smith 2025 年 3 月 18 日
I've just found a really useful item on FX which exports figures to html using plotly, I'm currently investigating this option.
I'll feedback if I manage to get it to suit my needs, thanks for the advice everyone!

カテゴリ

Help Center および File ExchangeMATLAB Web App Server についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by