Smart Motor Write
R2026bRepresent connected V5 Smart Motor and set its velocity and position
Libraries:
Simulink Coder Support Package for VEX EDR V5 Robot Brain /
Actuators
Description
Add-On Required: This feature requires the Simulink Coder Support Package for VEX EDR V5 Robot Brain add-on.
The Smart Motor Write block represents a V5 Smart Motor connected to a specified port on a VEX® EDR V5 Robot Brain, and sets the velocity and position of the motor.
Ports
Input
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"vexv5lib/Actuators/Smart Motor Write"
Example: add_block("vexv5lib/Actuators/Smart Motor Write","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2018b
