How do I generate an installer for a custom hardware support package?
31 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sreeram
about 5 hours 前
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!