Hello everyone! I'm working on Linux system. There are some C codes written on windows and used in matlab with mex, but it seems that mex is not available on Linux... Could anyone tell me how can I run C codes with matlab on Linux? Thanks a lot.
Ccode can be compiled in Linux using themexcommand.Ensure that you havegccinstalled in your machine. If you are compiling the C code for the first time, run the following command to see which compiler is used to compile the C code.
You can also refer to the following exampleto Create C Source MEX Files.