Automatically Run Script at End of Toolbox Installation
Show older comments
I'm writing a toolbox and packaging it as described in Create and Share Toolboxes. At the end of the installation process, I want to automatically run a script. Is this possible? We are trying to support MATLAB R2016a onward.
Accepted Answer
More Answers (1)
Lars Lindner
on 5 Feb 2025
0 votes
Hello everybody, we have the same issue.
We build a custom library, which we want to distribute as a toolbox (.mltbx file). I want to simple run a custom Matlab script (.m file), when installing this toolbox with right-click -> Install.
What is the correct approach to this?
Thank you everybody and with best wishes,
Lars
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!