Discrete State Space System

A forum useful to discuss the details of the ScicosLab code generator.

Moderator: paolo.gai

Locked
npascher
Newbie
Posts: 23
Joined: Mon Aug 31, 2009 12:25 pm

Discrete State Space System

Post by npascher » Tue Nov 09, 2010 1:57 pm

Hey all,

I have got another problem using the "Discrete State Space System" Block. When I try to compile the scicos diagram I retrieve the following error:

Code: Select all

...Using F:\Programme\Microchip\MPLAB C30
MAKE_DIRECTORIES (after a clean)

CP crt0.s
cc -E  frommchp/crt0.S > frommchp/crt0.s
ASM   crt0.s
CP p33FJ256MC710.h
GEN ee_pic30regs.h
CPP   eecfg.c
CPP   dspic_main.c
CPP   common.c
f:\Daten\Scilab\SUPERB~1\common.c:52: error: syntax error before 'size'
f:\Daten\Scilab\SUPERB~1\common.c: In function 'scicos_malloc':
f:\Daten\Scilab\SUPERB~1\common.c:54: warning: implicit declaration of function 'malloc'
f:\Daten\Scilab\SUPERB~1\common.c:54: warning: incompatible implicit declaration  of built-in function 'malloc'
f:\Daten\Scilab\SUPERB~1\common.c:54: error: 'size' undeclared (first use in this function)
f:\Daten\Scilab\SUPERB~1\common.c:54: error: (Each undeclared identifier is reported only once
f:\Daten\Scilab\SUPERB~1\common.c:54: error: for each function it appears in.)
f:\Daten\Scilab\SUPERB~1\common.c: In function 'scicos_free':
f:\Daten\Scilab\SUPERB~1\common.c:59: warning: implicit declaration of function 'free'
make: *** [obj/common.o] Error 1

I'm using scicoslab_pack_9_3 with scicoslab44b7 and EE1.51 with the nightly build 1.5.1.201011091023.

Would be thankfully for any support

Niko

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: Discrete State Space System

Post by paolo.gai » Mon Nov 22, 2010 12:21 pm

Hi Niko,

all blocks were tried the first time we inserted them. Probably the block has not been tested for a while, and it currently does not work.

For this reason, we are trying to make a regression test suite working to be sure that at least all examples compile without problems.

Could you please send us a reduced version of the diagram, so that I can add a regression test on that diagram? Once we have a failing test, we can try to make it working in the best way possible, and maintaining the test there will make sure the system will continue to compile in future releases.

Thanks!

PJ

npascher
Newbie
Posts: 23
Joined: Mon Aug 31, 2009 12:25 pm

Re: Discrete State Space System

Post by npascher » Wed Nov 24, 2010 5:22 pm

Hi Paolo,

I will send you an email with my files (diagram and context).


Kind Regards

Niko

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: Discrete State Space System

Post by paolo.gai » Wed Nov 24, 2010 5:32 pm

Thanks Nikolas!

I received the diagram, and we'll look at it as soon as possible!

Pj

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: Discrete State Space System

Post by paolo.gai » Mon Jan 10, 2011 6:08 pm

We just posted an update of the ERIKA plugins which solves this issue. Please give it a try!

Ciao,

Paolo

npascher
Newbie
Posts: 23
Joined: Mon Aug 31, 2009 12:25 pm

Re: Discrete State Space System

Post by npascher » Mon Jan 17, 2011 12:36 pm

Dear Paolo,

with the update it compiles correctly. Thank you and the whole team!

Ciao,

Niko

kimrody
Newbie
Posts: 1
Joined: Wed Dec 10, 2014 11:35 am

Re: Discrete State Space System

Post by kimrody » Wed Dec 10, 2014 11:49 am

I examine your post, but i think that there should be more talk about the threat that have initial started, so that the reasonable amount of data'll be available for decision, However, Nice post to talk about, well i like this. Regards
Try out our free Braindumps and latest comptia 642-889 exam training courses to get high flying success in final msu and www.mountwashington.edu exams, mcts Harvard University is also very useful tool.

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: Discrete State Space System

Post by paolo.gai » Wed Dec 10, 2014 4:34 pm

I guess this is related to an old post of the Scicos pack. The mallocs have been removed since a while... Not sure if it applies anymore.

Ciao,
PJ

Locked