Specifying Component Assembly and Namespace
To use the component assembly generated using the MATLAB Builder NE product
from the client application, you must
Reference the MATLAB data conversion assembly
and specify the namespace in your application, as shown:
using MathWorks.MATLAB.NET.Arrays;
Reference the namespace for the builder assembly
generated for your particular component and specify the namespace
in your application, for example:
using MyComponentName;
Note
The builder supports nested namespaces. |
Suppose you named the component you created MyComponentName and
you want to use it in a program named MyApp.cs.
Here are the statements to use at the beginning of MyApp.cs:
using System;
using MathWorks.MATLAB.NET.Arrays;
using MyComponentName;
 | Installing the Components on the Development Machine | | Creating an Instance of a Class |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit