How do I generate an installer for a custom hardware support package?
31 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Sreeram
hace alrededor de 7 horas
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 comentarios
Ver también
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!