Using MATLAB Structures in C# with Builder NE
Version 1.0.0.1 (19.3 KB) by
Peter Webb
Code for the "Art of MATLAB" post - shows how to pass structures between MATLAB and C#.
Shows how to use Builder NE's type safe APIs to pass structured data from C# into MATLAB and back again -- without any manual data conversion.
Type Safe APIs allow .NET programs to call MATLAB functions without manually creating MATLAB data types. They became available in the R2011a release of Builder NE.
Cite As
Peter Webb (2026). Using MATLAB Structures in C# with Builder NE (https://www.mathworks.com/matlabcentral/fileexchange/31293-using-matlab-structures-in-c-with-builder-ne), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on MATLAB Compiler SDK in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
