So to make this happen, you need to implement a simple prototype that calls your Matlab functions and show resluts in a simple GUI. If you're a Java savvy, or you prefer java to make this happen you need to use the MatlabControl API. It's a simple Java API that allows you to call Matlab functions and execute eval, feval and other commands.
All you need to do is to download the jar file and add it to your classpath and use this code to open a Matlab session.
MatlabProxyFactoryOptions options = new MatlabProxyFactoryOptions.Builder()
.setHidden(true)
.setUsePreviouslyControlledSession(true)
.build();
MatlabProxyFactory factory = new MatlabProxyFactory(options);
MatlabProxy proxy = factory.getProxy();
After that you need to change your Matlab current path to your Matlab script path using CD command and then you can execute call your function:
proxy.eval("cd C:/Users/MyName/Desktop/MyScriptFolder");
proxy.eval("myFunction('"+param1+"','"+param2+"',intParam)");
If you need other details about variables and parameter you can use the API Walkthrough or check out the API Javadocs.