DSPRelated.com
Forums

compile

Started by amel...@reseau.eseo.fr June 1, 2006
hy all,

I want to generate c files with matlab instead of writing my own c files.

So I used this command :

mcc -t -L C file.m
which generates a file.c and file.h.

Then I included file.h in my CCS project and called my file.c in main.c
of CCS project.

But when I try to build my project I ve got the following error message
(during the 'linking'):

undefined first referenced
symbol in file
--------- ----------------
_mclMtimes D:\6713\sine8_LED\Debug\calculrayon.obj
_mlfRound D:\6713\sine8_LED\Debug\calculrayon.obj

etc...

I suppose this is a problem with library ??

So I tried to include some libraries from Matlab, but CCS didn't
recognized them ??? ("file of unknow type")

What should I do ? Is there an other command to use with Matlab ?
What libraries should I include ?

Thanx in advance. Really need help.