Magnetic Reference
R2026bReference connection for magnetic ports
Libraries:
Simscape /
Foundation Library /
Magnetic /
Magnetic Elements
Description
The Magnetic Reference block represents a reference point for all magnetic conserving ports. A model with magnetic elements must contain at least one Magnetic Reference block.
Examples
Ports
Conserving
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Magnetic/Magnetic Elements/Magnetic Reference"
Example: add_block("fl_lib/Magnetic/Magnetic Elements/Magnetic Reference","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2010a

