How can i add simscape block programmatically
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Yifeng Tang
il 26 Nov 2019
If you open Simulink Library and hover the mouse over the block you want, the proper block path will show up.
Risposte (1)
Steve Miller
il 17 Ago 2020
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 Commenti
Vedere anche
Categorie
Scopri di più su Composite Components in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!