I get this error "lcc preprocessor error: IRLS.c:16 Macro redefinition of NULL" when I try to compile a C code for matlabusage using mex command
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
srinadh
el 28 de Sept. de 2013
Comentada: srinadh
el 28 de Sept. de 2013
I get the error "lcc preprocessor error: IRLS.c:16 Macro redefinition of NULL" when i run "mex file.c" in matlab.
The code file.c has the following line "#define NULL 0". Is there a simple way to fix this?
Thanks
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!