Require FEX package
The authors of submissions (packages) to FEX may sometime use the functions from the packages submitted to FEX by other authors. Instead of distributing those packages written by others, the authors of FEX submissions can use the function 'requireFEXpackage.m' for helping users with downloading and installing the required FEX packages.
Three included sample scripts demonstrate how this can be done.
In particular, see the instruction in the 'installFEXpackages.m'.
The easiest way is just to add the files 'requireFEXpackage.m' and 'installFEXpackages.m'
to your toolbox, modify the file 'installFEXpackages.m', and instruct the user of your toolbox
to run the script 'installFEXpackages.m' once before using your toolbox.
The user is always asked where to put the requested FEX package. A subdirectory called 'NNNNN' (where NNNNN is the ID of the requested FEX package) is created in the user-selected location, and all files from the requested FEX package are installed there.
There is also another function in this toolbox, namely 'suggestFEXpackage.m', which can be used in situations, where the the other FEX submission can be recommended as a related one, but is not a necessary pre-requisite.
It can be recommended to create a directory called 'FEX' for putting all FEX packages there.
Citation pour cette source
Igor Podlubny (2024). Require FEX package (https://www.mathworks.com/matlabcentral/fileexchange/31069-require-fex-package), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Installation and Licensing > Install Products > Introduction to Installation and Licensing >
Tags
Remerciements
A inspiré : Mittag-Leffler filter, Mittag-Leffler 2D filter for image processing, Dynamical System Viewer, Discrete Fractional-Order PID Controller, Matrix approach to distributed-order ODEs and PDEs, Total Least Squares Method
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.31.0.0 | Changed 'http:' to 'https:' in baseURL, as suggested by Scott Lowe. |
||
1.3.0.0 | Enhanced formatting in the dialog in 'requireFEXpackage.m'. New function 'suggestFEXpackage.m' added. |
||
1.2.0.0 | Removed unnecessary line in the code. |
||
1.0.0.0 |