How can i add simscape block programmatically
조회 수: 12 (최근 30일)
이전 댓글 표시
I konw how to add the basic simulink block programmatically. But when i use the same method, there is always something went wrong with the path name of the block source. How should i specifiy the name of the block source path properly?
add_block('simscape/Electrical/Specialized Power Systems/Fundamental Blocks/Mutual Inductance','Model_auto_generation_Mutual_inductance_considered')
댓글 수: 2
Yifeng Tang
2019년 11월 26일
If you open Simulink Library and hover the mouse over the block you want, the proper block path will show up.
답변 (1개)
Steve Miller
2020년 8월 17일
Looks like Yifeng's comment answered your question:
If you open Simulink Library and hover the mouse over the block you want, the proper block path will show up.
If you have a follow-up question, let us know.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Composite Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!