Hi,<br><br>I was generating code for a quite simple super block (with two Scifunc blocks) and i receive the error message as:<br><br>! Function not defined for given argument type(s),                            !<br>!                                                                                                 !<br>
!  check arguments or define function %mc_part for overloading.      !<br><br>I have written the function in Scifunc and am using some of the variables from the context of the model. Could anyone please point out my mistake in this regard?<br>
<br>Thank you in anticipation.<br><br>Sanjeev<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 5:23 PM, sanjeev pandey <span dir="ltr"><<a href="mailto:sanjeev211988@gmail.com">sanjeev211988@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br><br><div class="gmail_quote"><div class="im">On Thu, Jul 29, 2010 at 4:51 PM, Collette yann <span dir="ltr"><<a href="mailto:yann.collette@scilab.org" target="_blank">yann.collette@scilab.org</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">

<div>Le 29/07/2010 15:35, sanjeev pandey a écrit :<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have been using the Xcos super blocks extensively and I have faced many problems and the problem persists in the nighty build scilab-master-1279908969. Some of the problems are:<div><br>
<br>
1) Xcos is very unstable when it comes to using super blocks and hangs a lot of times and the user is left with no choice but to restart it all over again.<br>
<br>
2) Nested super-blocks do not open (for e.g, a super block 'a' in super block 'b' which in turn is in super block 'c' then contents of super block 'a' are lost) and most of the times it is impossible to make changes to an existing super block.<br>



<br>
</div></blockquote>
<br>
Maybe you can try to use a recent nightly build. A lot of bugs have been fixed in xcos in the last days.<br>
Super block work nearly fine on the last master.</div><div><br>
I am going to test the beta 2 and master 1280..... versions, lets see if they are of help.<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
3) I have made an Xcos model (file size around 3 MB) and the code generator is not able to generate code.<br>
<br>
</blockquote></div></div><div class="im">
Do you have a specify error message for this case ?<br></div></blockquote><div><br>I do not get any error message..can it be becasue i am using a scifunc block inside the super block ?<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
YC<br>
</blockquote></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Sanjeev Pandey <br><br>Graduate Student,<br>Process Systems Engineering<br>Helsinki University of Technology,Finland<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sanjeev Pandey <br><br>Graduate Student,<br>Process Systems Engineering<br>Helsinki University of Technology,Finland<br>