by Dimitris » Thu Jan 17, 2008 1:24 am
by Dimitris
Thu Jan 17, 2008 1:24 am
Hi,
Has anyone tried to run this matlab interface? I followed all the steps and I'm oonly stuck at the end when building the simulink model
Error ../PC_code.c: 110 undeclared identifier `t'
Warning ../PC_code.c: 110 Statement has no effect
Error ../PC_code.c: 110 syntax error; found `counter' expecting `;'
Warning ../PC_code.c: 109 possible usage of t before definition
Warning ../PC_code.c: 137 unreachable code
Initially I got the above error, which seemed to be due to a random 't' at the end of a loop, which must have been a typo. So I remove it and re-build and end up with this error:
pc_code.obj .text: undefined reference to '_outp'
pc_code.obj .text: undefined reference to '_inp'
gmake: *** [../diagram.exe] Error 0x10
gmake: *** Deleting file `../diagram.exe'
### Real-Time Workshop build procedure for model: 'diagram' aborted due to an error.
... and the error message dialog gives:
Error using ==> RTW.genMakefileAndBuild
Anyone any ideas???
Hi,
Has anyone tried to run this matlab interface? I followed all the steps and I'm oonly stuck at the end when building the simulink model
Error ../PC_code.c: 110 undeclared identifier `t'
Warning ../PC_code.c: 110 Statement has no effect
Error ../PC_code.c: 110 syntax error; found `counter' expecting `;'
Warning ../PC_code.c: 109 possible usage of t before definition
Warning ../PC_code.c: 137 unreachable code
Initially I got the above error, which seemed to be due to a random 't' at the end of a loop, which must have been a typo. So I remove it and re-build and end up with this error:
pc_code.obj .text: undefined reference to '_outp'
pc_code.obj .text: undefined reference to '_inp'
gmake: *** [../diagram.exe] Error 0x10
gmake: *** Deleting file `../diagram.exe'
### Real-Time Workshop build procedure for model: 'diagram' aborted due to an error.
... and the error message dialog gives:
Error using ==> RTW.genMakefileAndBuild
Anyone any ideas???