Arduino + Simulink Error

I am trying to implement a basic filter and RMS to DC conversion in Simulink and then upload that to an Arduino. So far my experimentation with the RMS conversion has been going well. I’ve now added the filter and found an issue. The output from the filter is a continuous signal whilst the RMS requires a discrete signal. I try to add a Zero Order Hold module to system and all hell breaks loose when I try to program the Arduino. I have attached screenshots of my model and the error code.

Any advice?

Thanks.

Any advice?

You don't have an Arduino programming problem. You have a simulink problem. Ask at the appropriate forum.

PaulS:
You don't have an Arduino programming problem. You have a simulink problem. Ask at the appropriate forum.

Wow, thanks for the help. Only came here with a genuine request which may have been a limitation within the Arduino. I hope your other 67,000 replies aren't as curt.