How do I associate files with a specific compiled App Designer application on Windows?
Show older comments
In most applications there are two ways you can open a file:
1. Open the application and then select the proper file. (ex. Open Microsoft Word and then select test.docx)
2. Open the file and it opens in the proper application. (ex. Open test.docx and it automatically opens in word)
I would like the same behavior in my compiled App Designer application, SampleApp.exe. I am able to use the first method, but I am unsure how to do the second.
The application should take in data files that are formatted in a particular way. Then I am just renaming them as .SampleApp files. For example I save testdata1.mat as testdata1.SampleApp.
When I double click on testdata1.SampleApp, I want MATLAB to open SampleApp.exe with testdata1 loaded in. I have already associated .SampleApp files to open SampleApp.exe, but I am unable to get the data loaded in the application.
How can I get the testdata1.SampleApp file to open the application with the testdata1 loaded in?
Accepted Answer
More Answers (0)
Categories
Find more on Develop Apps Using App Designer 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!