How do I generate an installer for a custom hardware support package?
31 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sreeram
ungefär 7 timmar ago
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 Comments
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!