Issues when deploying Simulink model to virtual PLC

With the following setup:

  • MATLAB R2022a with Simulink v10.5, Embedded Coder v7.8 and MATLAB Coder v5.4
  • Support Package ctrlX OS Target Simulink V0202 installed
  • ctrlX WORKS v2.4.1 running virtual PLC
  • with Automation Core v2.4.0 and Model Connect v2.4.1

I followed the instructions for the example project cxcStateflow to deploy and monitor via Simulink and the Model Connect app. However, at the 'Build for moitoring' step, I was unable to deploy the code, Simulink returns "ERROR: Failed to send file to the model connect snap" message with no further information.

If I try to manually upload the zip files generated by Simulink, I get the following error message

/ctrlx-automation-how-tos-qmglrz33/post/modelling-deploying-and-running-simulink-r-models-on-ctrlx-os-AGTZnxw3ypHHaYG

Appriciate any help or suggestions.

ย 

1 reply