Exchange with Node-RED
Your uploaded Simulink binary can exchange data with Node-RED on a GOcontroll controller by using the same signals and parameters that are available for external control and monitoring via XCP. These signals and parameters are added in the same way in Simulink and can then be accessed directly in Node-RED.
Required Files on the Controller
Ensure that both of the following files are present on the controller:
- The compiled Simulink binary (.elf)
- The corresponding A2L file (.a2l)
When the model is uploaded automatically or manually from MATLAB/Simulink, both files are transferred to the controller. Verify that the Simulink binary is running on the controller.
Using Signals and Parameters in Node-RED
- Log in to the Node-RED environment.
- In the left palette, scroll to the GOcontroll nodes.
- Drag the Simulink Signal and Simulink Parameter nodes onto the canvas.
- Click Deploy.
- Now you can use the nodes. Configure each node:
- Signals can be read.
- Parameters can be written.
This allows real-time monitoring and control of Simulink variables directly from Node-RED.








