How can I create shortcuts by commands?
Show older comments
I'm wondering whether it is possible to create shortcuts on the toolbar by commands. I am going to release my GUI and I hope any user can install it by running a script (to add path and create a shortcut on the tool bar). Does Matlab have this kind of function/command? I just want to make the installation process simple so that even if the user is not familar with MATLAB can install the GUI by just a click. Any solution is welcome.
Accepted Answer
More Answers (2)
per isakson
on 18 Feb 2014
Edited: per isakson
on 18 Feb 2014
0 votes
- There is a file shortcuts_2.xml "in" prefdir, which "contains" the shortcuts. "First, make a backup ..."
- See in FEX: Shortcut tools
Matt Tearle
on 18 Feb 2014
0 votes
If you're running 12b or later, why not just package and distribute your application as an app ? Then your users simply run the .mlappinstall file and your app is added to their toolstrip.
Categories
Find more on Introduction to Installation and Licensing 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!