Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Open another EXE-programm with Application Builder
Posted 2015年6月17日 GMT-4 09:21 0 Replies
Please login with a confirmed email address before reporting spam
i want to create a user interface with application builder, set a Button in the interface and with a click on the button to open another Programm like Matlab (.m file) and run it.
i already how to build this user interface and how to add a button but just don't know how to realize the last step.
How could i do it? should i write a code or this function is already in the application builder?
tried with this code in a new method: (i want to open the model.m file with matlab)
Runtime.getRuntime().exec("MATLAB R2015a", "C:/Users/Desktop/model.m");
but always get the Error "Unhandled exception type IOException"
Hello Yuchen Cui
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.