Dear friends,

I have found the solution to my problem tonight!
It turns out I had set the sample time of my sine wave input 0.001 (the same as 
my model integration step), which is not good! it has to be a continuous signal 
, so the sample time should be 0.
Also, make sure your model doesn't give ANY warnings when you start building 
it! 
to check this go to your simulink model and select Tools/Simulink Debugger...
Click Play on the upper-left side and see if it says you have any warnings. if 
you do, try to eliminate ALL OF THEM!
Then, the build process will work fine and dandy! 

Thank you for your promp reaction! Wish you all the best!
Alex Marton



________________________________
From: Alex C. Marton <martona...@yahoo.com>
To: h...@igh-essen.com; etherlab-users@etherlab.org
Sent: Thu, November 18, 2010 7:40:41 PM
Subject: Re: [etherlab-users] Build error in RTW: implicit declaration of 
function 'xxxxxxxxxxxxx'


Hello!


Thank you for answering! I really need your help on this one.
My linux version is: openSUSE 11.2 "Emerald" - Kernel \r
My RTAI version is 3.7.1
Matlab is R2009b, Simulink version is: v 7.4 and RTW is: v 7.4

Thank you!
Alex



________________________________
From: Dr.-Ing. Wilhelm Hagemeister <h...@igh-essen.com>
To: Alex C. Marton <martona...@yahoo.com>; etherlab-users@etherlab.org
Sent: Thu, November 18, 2010 5:56:15 PM
Subject: Re: [etherlab-users] Build error in RTW: implicit declaration of 
function 'xxxxxxxxxxxxx'

Hallo Alex,

please supply information over:

LINUX-Version (which 2.6.xx)
RTAI-Version
Matlab/Simulink/RTW-Version

Wilhelm.

Am 18.11.2010 17:39, schrieb Alex C. Marton:
> Hi!
> First I want to say that I have already searched your mailing list for
> threads on my issue, but I did not find any.
> I am using etherlab 1.2-rc10 on linux kernel 2.6. I tried building a
> simple Simulink model from scratch like you instructed in the guide of
> Etherlab, here:
> http://etherlab.org/download/etherlab/etherlab-1.2.pdf
> <http://etherlab.org/download/etherlab/etherlab-1.2.pdf>I put in an
> EK1100 EtherCAT coupler block, an EL4132-AO block and a sine-wave into
> that (the EL4132). Nothing special here (exactly the same model as the
> right lower part of your standard "example.mdl" model that you show to
> users). I did the necessary configurations for the simulation and I
> clicked Ctrl+B. 
> It started to build the RTW model and after countless compilation and
> build messages (nothing unusual, no warnings, no errors), at the end it
> says:
> 
> test1.c: In function 'test1_output':
> test1.c:72: error: implicit declaration of function 'rtmIsMajorTimeStep'
> gmake: *** [test1.o] Error 1
> Real-Time Workshop build procedure for model: 'test1' aborted due to an
> error.
> 
> Why is it doing that?  How do I fix this error because I know I am not
> doing anything wrong. The standard "example.mdl" model gives me the same
> exact build output message when I try to build it. 
> 
> Thank you for your time and patience!
> Alex Marton
> 
> 
> 
> 
> _______________________________________________
> etherlab-users mailing list
> etherlab-users@etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users


      
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to