# SecondaryURScriptCommand

**URL:** <https://forum.universal-robots.com/t/secondaryurscriptcommand/28602>\
**Category:** Technical Questions\
**Created:** [May 24, 2023, 4:27pm UTC](https://forum.universal-robots.com/t/secondaryurscriptcommand/28602 "2023-05-24T16:27:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamid\_reza.saadati](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@hamid\_reza.saadati](https://forum.universal-robots.com/u/hamid_reza.saadati)\
**Post date:** [May 24, 2023, 4:27pm UTC](https://forum.universal-robots.com/t/secondaryurscriptcommand/28602/1 "2023-05-24T16:27:07Z")

</div>

Hi  
I’m working with UR10e + ROS + Matlab.  
I can change the URSim digital output of the robot from Matlab "executeSecondaryURScriptCommand " but this command not work for the real robot.  
I would appreciate it if someone could help me.
