Using MATLAB Structures in C# with Builder NE

Code for the "Art of MATLAB" post - shows how to pass structures between MATLAB and C#.

You are now following this Submission

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 .

Categories

Find more on MATLAB Compiler SDK in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0