Upload binary
Now you have compiled a Simulink model into machine code, it is time to upload the code to your GOcontroll Moduline controller. A wired ethernet and/or Wi-Fi connection is mandatory. Independent the type of connection, it is important to know the IP address of the controller.
For this example we use the wired ethernet connection. We discovered that the IP address of the controller was: 192.168.1.16
There are several ways to upload the compiled binaries to your controller.
Upload software using the automated upload mechanism after software build

- Go to Settings in your model
- In the new window that opens, open Code Generation on the left
- Select GOcontroll options on the bottom
- Add your controllers IP address to Upload Address
- Activate Auto upload
- Click OK to save the new settings
When a new build is started, the software is automatically uploaded to the controller. Depending on the go-simulink service, the new binary will be started directly after the upload if the service is running.
Upload software manually using the ManualUpload script via the command line in MATLAB.
When your model is build, the binary can be found by the manual upload script by providing the model name as first argument. The second argument is the IP address of the controller. Simply calling the following command from the command window of MATLAB, will upload the binary to the controller.
ManualUpload GOcontroll 192.168.1.16








