MATLAB®and C/C++ can be used together in a variety of ways to develop algorithms for audio, communications, image, or signal processing applications. Your C program can call MATLAB directly by invoking the MATLAB engine interface, allowing C programmers to utilize MATLAB for data visualization and for access to built-in signal processing functions such as FFTs and digital filters. You can also use MATLAB Coder™ to create ANSI C code directly from MATLAB, or create reusable libraries such as DLLs, or even standalone executables, using MATLAB Compiler™. Finally, if you have C source code that you plan to use in MATLAB, you can compile that code into a MEX function and call it from within MATLAB. You can also use theloadlibrary
function from MATLAB to access your C-based IP as a custom library.
Featured Product
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
Selectweb siteYou can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.