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.
Peter Webb (2021). 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 .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.