How do I generate an installer for a custom hardware support package?
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a hardware support package ready to go, with a custom hardware target and blockset. If i use Add-Ons -> Package Toolbox it create a standard toolbox installer (*.mltbx), which gets installed to:
C:\Users\<user>\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\<toolbox>
Support packages (*.mlpkginstall I think?) get installed to:
C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\target\supportpackages\<toolbox>
Problem is, the standard install path includes a space, which breaks things (compiler paths, imported code paths in library models, etc.). When I manually move the folder to the support package path everything works fine but this is not ideal as I would then have to manag,e the persistent MATLAB search path, and it would break MATLAB's ability to manage the add-on.
How do I generate an installer that installs to the support package path?
0 commentaires
Réponses (1)
Sreeram
il y a environ 10 heures
Hi Jeremy,
To change the default Add-On installation folder, on the HOME tab in the ENVIRONMENT section, select Preferences > MATLAB > Add-Ons. Then, in the Installation Folder field, specify the desired path where MATLAB should put Add-Ons. In case the folder does not have write permission, you may have to manually grant the write permission using the Windows File Explorer.
More details on this are available in this documentation page:
Thanks
0 commentaires
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!