File Exchange

image thumbnail

coder-swig

version 1.0.0 (26.2 KB) by Ryan Livingston
Examples showing how to use SWIG to wrap MATLAB Coder generated C and C++ code for other languages

2 Downloads

Updated 11 Feb 2019

GitHub view license on GitHub

This project collects examples of generating code from MATLAB programs with MATLAB Coder and interfacing that generated code to various languages like Java and C#.

Cite As

Ryan Livingston (2020). coder-swig (https://github.com/mathworks/coder-swig), GitHub. Retrieved .

Comments and Ratings (6)

Ryan Livingston

chaoqiang xi I'm not aware of an automated way to do that. There does appear to be some numpy support w/ swig:

https://numpy.org/doc/stable/reference/swig.html

So that may be interesting to look at

chaoqiang xi

chaoqiang xi

Thanks. The code exmples are great.

Is there any way to convert emxarry in C or coder array in C++ to numpy with swig?

Darshan Ramakant Bhat

Ram

Bill Chou

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!