C Function Call error for output size != 1
Posted: Thu Apr 10, 2008 11:59 pm
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
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