Create a Simulink Library Installer
3 ビュー (過去 30 日間)
古いコメントを表示
I've been looking for a method of sharing a simulink library with colleagues that makes it as simple as possible for them to install.
I tried using the MATLAB App Packager to contain the slblocks.m file and the associated libary .slx file but the Apps are not automatically added to the MATLAB search path. The MATLAB App Packager looked very promising due to it's support for version numbers.
Is there a way to create an installer for Simulink Libraries in the same way that I can install the Arduino support package or automatically add the folder to the search path on App install?
0 件のコメント
回答 (1 件)
Sandip Kumar
2014 年 10 月 6 日
As per the documentation, need to write a 'slblocks.m' and have the library model together.
In order to have a install script, you will need to basically add the appropriate path to MATLAB path, one example I can think of is this Zumobot library installer script:
If you notice, only the library path are added correctly, and the end user just have to run a script which installs the custom library to your library browser.
Thanks, Sandip Kumar, MathWorks
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!