- Install the 'MATLAB Engine' using the following command in your terminal or command prompt:
- Modify the Python script to send data to MATLAB using the MATLAB Engine API.
- Write data to a .CSV or .MAT file
- Use a 'From File' block to read the data from the file: https://www.mathworks.com/help/simulink/slref/fromfile.html