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
betosoria@gmail.com
C Function Call error for output size != 1
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
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
It is now corrected and will be available in the next release (next to V0.97)
Lubin
Who is online
Users browsing this forum: No registered users and 1 guest