copy_dependencies
Copies all external code files necessary to run a script into a subfolder.
Use cases are for example
- execute on a remote server
- give code away
- for backup / archive
Careful: All necessary code must be on Matlab's path when invoking copy_dependencies; it doesn't warn if anything is currently missing. Therefore to be on the safe side, run the "start_mfile" firstly in order to see if everything works. Afterwards you can run copy_dependencies.
Input arguments
- start_mfile : Existing Matlab file that is supposed to run (required)
- destination : Folder where to save the dependencies (default: new subfolder in current directory)
Zitieren als
Daniel Frisch (2024). copy_dependencies (https://www.mathworks.com/matlabcentral/fileexchange/82768-copy_dependencies), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |