How do I associate files with a specific standalone compiled application developed in GUIDE on Windows?

1 view (last 30 days)
I have built a standalone application using GUIDE
my compiled application, myApp.exe saves some data.mat as data.myapp files
I can open my application and load the data.myapp as mat files with no problems
these data.myapp files are associated to my standalone applications: so what I am trying to do is that when I double click on the data.myapp I want my application to open and load the data.myapp file as .mat data
I have already associated .myApp files to open myApp.exe (my standalone exe), but I am unable to get the data loaded in the application. I am getting the following error: "error: too many input arguments"
my main file is a function main (varargin) so it should be able to get varargin as input
can anyone help me with this issue please?
many thanks in advance

Answers (0)

Community Treasure Hunt

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

Start Hunting!