https://de.mathworks.com/help/slrealtime/api/slrealtime.targets.setdefaulttargetname.html
setDefaultTargetName - Set default target computer name - MATLAB
This MATLAB function sets the name for the default Speedgoat target computer.
set defaulttargetcomputernamematlab