Getting simscape custom libraries loaded folder path from script
4 ビュー (過去 30 日間)
古いコメントを表示
Hii,
I have created few custom simscape libraries and loaded same in matlab. Is there any way to get the folder path location of the those libraries i have loaded from matlab script.
Thanks
0 件のコメント
回答 (1 件)
Piyush Dubey
2023 年 4 月 7 日
編集済み: Piyush Dubey
2023 年 4 月 7 日
Hi,
Once a custom library is created, it can be added to the existing library browser.
Steps mentioned below can be followed to locate the path of a block programmatically.
Alternatively, ‘libinfo’ can be used to obtain relevant data regarding a block in the system.
matlab.desktop.editor.getActiveFilename attribute can be used to get the path of a script/file currently being used or accessed
I hope this might be helpful.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Foundation and Custom Domains についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!