Asked • 07/19/19

TCP/IP Message from Python to Simulink?

I have a Simulink block, accepting TCP/IP connections and reading the incoming data. The data has to be integers of type int32. Imagine we have a variable of any integer number in Python. We can convert the number to a string and send it via a tcp socket. So far no Problem. But how to convert the number to that kind of string, that my Simulink blocks receives the number in int32 format?

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.