# Error message when I run my xcos simulation

**URL:** <https://scilab.discourse.group/t/error-message-when-i-run-my-xcos-simulation/220>\
**Category:** Xcos\
**Created:** [October 29, 2023, 7:05am UTC](https://scilab.discourse.group/t/error-message-when-i-run-my-xcos-simulation/220 "2023-10-29T07:05:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thebellsandwhistles](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@Thebellsandwhistles](https://scilab.discourse.group/u/Thebellsandwhistles)\
**Post date:** [October 29, 2023, 7:05am UTC](https://scilab.discourse.group/t/error-message-when-i-run-my-xcos-simulation/220/1 "2023-10-29T07:05:14Z")

</div>

when I run my simulation I get this error message back. Does anyone have any idea what it means please?

“Function not defined for given argument type(s),”  
" check arguments or define function %0\_size for overloading."

The simulation is of a coupled pendulum system so is using integration and basic maths blocks. There is impact detection too but it’s not a complex model so I’m a bit lost.  
Thanks.

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [October 29, 2023, 7:26pm UTC](https://scilab.discourse.group/t/error-message-when-i-run-my-xcos-simulation/220/2 "2023-10-29T19:26:52Z")

</div>

Hello,

Can you edit your post and drag and drop the .zcos file of your diagram.

S.
