I saw that there is no Modbus block in Simlunk, and checked the blocks of the Simulink Real Time and could not find it either. How we can create a model that uses modbus to comunicate to the controller if there is no Modbus compatibility in Simulink? The instrument toolbox only can use MATLAB and not Simulink, which I did not know when I bought it.....
Hi, I need Simulink Modbus blocks for code generator,that is, generate code to implement modbus in microcontrollers, using simulink code generation., is this possible?
The thing is that Modbus directly is not available in Simulink for code generation... So, that sounds like is not possible.
There is a workaround I found for a "live simulation in simulink" using interpreted functions and calling them from Simulink... But you'll need to simulate in simulink, no to export code...
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.