Creating an interactive HTML website that uses MATLAB

23 views (last 30 days)
Hi all,
I am wondering if it is possible to use the web app or something in MATLAB to create a HTML webpage that allows you to import an excel sheet and then execute MATLAB code that would display figures on the HTML website.
So, I am wondering if there is a way to create an HTML website that allows you to insert an excel sheet and then execute MATALB code (.m or .mlx)?

Answers (1)

Chetan
Chetan on 28 Feb 2024
Edited: Chetan on 28 Feb 2024
I can see that you are trying to create an HTML webpage that can import an Excel sheet and run MATLAB code to display figures directly on the webpage.
This can be achieved by developing a MATLAB app using App Designer and then deploying it as a web app using MATLAB Web App Server. Here's a brief outline of the process:
  • Develop a MATLAB App: Create an app with App Designer that includes functionality for importing Excel data and running MATLAB code to produce figures.
  • Deploy as a Web App: Convert the app into a web app using MATLAB Compiler or MATLAB Compiler SDK and host it on MATLAB Web App Server
  • Access and Use the Web App: Users can interact with the web app through a web browser, upload an Excel file, and see the results displayed as figures on the webpage.
You'll need MATLAB Compiler or MATLAB Compiler SDK, as well as MATLAB Production Server for hosting the web app.
Refer the following MathWorks Documentation:
Thanks
Chetan

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!