If you decide to run your code via internet, then you may use either Java or ASP.NET as a front end. Your questions are quite good as they explain the whole process:
- You need to have a PC running as a server (either buying a domain for 20 dollars a year or using your PC with static IP).
- You may convert all your M-files into library or classes using MATLAB Builder for JAVA or MATLAB Builder for .NET to be used as classes with all functions you use from MATLAB.
- You shall use as I mentioned earlier JAVA or ASP.NET(C# or VB) to build the GUI other than MATLAB GUI.
- The MATLAB builder will deploy MATLAB Component Runtime (MCR) which must be installed on the server.
It is quite easy to do such a thing. The below link is a quick start for you:
All you have to pay attention to is the data type conversion from MATLAB to the language you choose as your front end. MATLAB has good documentation regarding this.
Hope it helps.
Waleed El-Badry BSc., MCPD, CLAD, ISTQB CT,
Teaching Assistant in College of Engineering,
Misr University for Science and Technology