Do you need to work with other development teams who may be using Python and C/C++?
MATLAB® provides a flexible two-way integration that allows different development teams to work together to integrate MATLAB algorithms with Python and C/C++.
In this webinar, you will learn:
System and Configuration Requirements
Calling MATLAB from Python using MATLAB Engine API.
The API lets you execute MATLAB commands from within your Python environment without starting a desktop session of MATLAB. Learn more about the MATLAB Engine API for Python
Calling Python Libraries from MATLAB
If you have functions and objects in Python, you can call them directly from MATLAB.
This allows you to work entirely within MATLAB without switching your programming environment. Learn more about
Packaging MATLAB Programs for Scalable Deployment with Python using MATLAB Compiler SDKTM.
These packages can be integrated with Python applications that, in turn, can be shared with desktop users or deployed to web and enterprise systems, royalty-free, Learn more about the integrating complied MATLAB programs into Python applications.
Calling MATLAB from C or C++ using MATLAB engine interface
This API allow you to execute your complex MATLAB algorithm (limited available in C/C++,for example, signal processing) from C/C++ environment. It gives you the access to built-in MATLAB functions such as FFTs and digital filters. It also allows full access to MATLAB visualization to plot and graph data, as opposed to looking at memory registers or text output from C environment.
Using MATLAB Code directly in C/C++
There are number of ways in which to export your algorithm or design from MATLAB into a C development environment.
- Create ANSI C Code Using MATLAB Coder
This allows the generated portable and readable C or C++ code integrated directly into Microsoft Visual Studio or any other C/C++ development environment.
- Create Shareable Libraries or Executable Using MATLAB Compiler SDKTM
MATLAB compiler SDKTM allows for the distribution of shared libraries (.dll)
Using C and C++ Code Directly in MATLAB
You can bring C or C++ into the MATLAB environment in two ways :
- Compile C Code into MEX
- Load a Precompiled library (.dll) or shared object(.so) using loadlibrary
About the Presenter
Mr. Kevin Chng is the LTC Application Engineer at Techsource Systems. He holds a Bachelor of Chemical Engineering with Honours (1st Class) Degree from Universiti Malaysia Sabah, Malaysia. His focuses are AI (machine learning & deep learning), finance application and Enterprise Solution (Azure, Microsoft Visual Studio, Production Server, Tableau). He is top contributors of MATLAB Example, functions and application to the MATLAB community. You may find his MATLAB community profile in Mathworks website : https://www.mathworks.com/matlabcentral/profile/authors/12813571-kevin-chng
LTC Application Engineer, TechSource Systems