Does the SIMULINK have the ethercat slave module?
Direct link to this answer:
No. Software in an xPC is not fast enough to keep up the EThercat speed.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?