Multiple Inputs and Outputs in Builder NE Type Safe APIs

Example code for the "Art of MATLAB" blog post of the same name.

You are now following this Submission

Explains how to use C# overloading to manage MATLAB functions with multiple inputs and outputs in a Builder NE type safe API.
The example program demonstrates the use of overloading via function that computes polygonal numbers.

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). Multiple Inputs and Outputs in Builder NE Type Safe APIs (https://www.mathworks.com/matlabcentral/fileexchange/31292-multiple-inputs-and-outputs-in-builder-ne-type-safe-apis), 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