FORUM TOPIC · READ ONLY

C Function Call error for output size != 1

C Function Call error for output size != 1

Forum : bug reports

2 message(s) · archive en lecture seule

Anonyme
Hi,

Wen i specify an output size greater than 1, the C Call function uses a pointer to an arrya of the output type. However, an extra , was left before. Model will not compile due to the syntax error.



For example , I created a function callde GetQEI that returns 3 int32. In the declaation of the function prototype in "model_NAME"_private.h as:



extern void GetQEI(,int32_T* y1);



I hope you can fix the error and send the p code and the TLC files.



A work around is to open de _private.h file and erase de ,. Then call de "model_NAME.bat" with the ! changing the current directory in the sources directory, so it can be compiled.



Saludos.

A. Soria

[adresse e-mail retirée]
LubinKerhuel

Re: C Function Call error for output size != 1

Thanks for repporting that bug.



It is now corrected and will be available in the next release (next to V0.97)



Lubin