Matlab & Web Integration

2 views (last 30 days)
Cameron Lee
Cameron Lee on 25 Aug 2016
Commented: Walter Roberson on 7 Sep 2016
Does Matlab have any functionality where it would be possible for someone on my personal website to enter text into 4 text fields, press a submit button, have that text automatically entered as input arguments in a Matlab function on my computer (a function that would be automatically called by the user pressing submit), and then return the result (a text file) of that Matlab function to the website for that user to download? Any help would be greatly appreciated!
Thanks!
  2 Comments
David Barry
David Barry on 25 Aug 2016
Yes I'm sure you could do it with MATLAB Compiler SDK but why not just do the whole job in MATLAB and create the user interface there instead of on a website? It would be a whole lot easier and cleaner, in my opinion.
Cameron Lee
Cameron Lee on 7 Sep 2016
Hey David, thanks for your help on this... if it was just for me to use, then I agree that I could make the GUI in Matlab (and I have), but I want my website users from around the world to be able to have access to the data (the text file) that this would provide. My biggest issue is that my web programming skills are non-existent (if they were better, then I could probably just do this using html), so I am trying to find an easy solution that Matlab might already have. I just wanted to know if Matlab does have such functionality before I invested a lot of time into trying to learn how to do it in something like Dreamweaver.

Sign in to comment.

Answers (1)

Sean de Wolski
Sean de Wolski on 7 Sep 2016
The use case you just described is the whole purpose of Compiler SDK and MATLAB Production Server.
  1 Comment
Walter Roberson
Walter Roberson on 7 Sep 2016
Note: if you make a MATLAB program available through the network to people outside of your organization, then you will need a Floating Network License if I recall correctly. Please be sure to read the license conditions (or contact Mathworks) before making a MATLAB function available through the Internet.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!