How do I use either "printf()" or "mexPrintf()" when either call gets me "Unknown function or variable"?
Mostrar comentarios más antiguos
I am new to Matlab on a Mac, having used Matlab and Octave in Linux environments for years. I find
that I cannot use "printf" or what I see described as "mexPrintf" to show variables in the command line window.
I get the error message "Unknkown function or variable". Is there some path addition that I need to do in order
that this Matlab see all the available functions? Or are these functions considered beyond the reasonable need
of a "home" user of Matlab?
2 comentarios
James Tursa
el 19 de Nov. de 2018
Those are C/C++ functions. Are you writing mex code or m-code?
Steve Mims
el 20 de Nov. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!