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!