start app by doubleclicking mat-file with custom extension

8 次查看(过去 30 天)
An application which was greated using GUIDE can save *.mat files with a cusom extension, like *.MyExtension. What I want is, that I doubleclick in the windows explorer such a file, which will: 1. open my application (probably some settings in windows) 2. pass the file path to the application, so that the data can be loaded. Can someone help me on this?
  2 个评论
Walter Roberson
Walter Roberson 2017-10-5
When you say "open my application", would that be a compiled application, or do you mean that MATLAB should be opened and it should run your GUIDE .m, preferably somehow sending in the name of the file that was clicked on?
Pablo
Pablo 2025-9-8,15:01
Hello, I am interested in this same topic @Walter Roberson, but I dont think there was ever an answer from @Sascha Langfermann. Is there any update about how I can "convert" a .mat file into a customized extension .MyExtension, and to also have a different icon in those files that traditionaly have a matlab icon? Is that something we can work out from the App when saving the data?
Basically, like Sascha, I also compiled an application, and all the data created by this application is stored in a .mat file with its own Matlab icon. I would like to have my own externsion and icon for the files saved with this app.
Opening the compiled app when clicking my file would be great as well, but I think that can be configured in Windows, right?
Thanks!!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by