can you embed MATLAB figures into webpage?
27 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
William Renold-Smith
el 17 de Mzo. de 2025
Respondida: William Renold-Smith
el 18 de Mzo. de 2025
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.
0 comentarios
Respuestas (3)
Walter Roberson
el 18 de Mzo. de 2025
Your options:
- run an application on a server that sends out graphics (perhaps using javascript, perhaps using HTML5)
- distribute a compiled application to end-users
- use the 3d interactive extensions of pdf; https://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf
- Use X3D https://www.mathworks.com/help/sl3d/x3d-extensible-3d-graphics.html such as is handled by the File Exchange contribution you found
1 comentario
Steven Lord
el 18 de Mzo. de 2025
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.
Ver también
Categorías
Más información sobre MATLAB Web App Server en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!