| MATLAB® Builder™ NE | ![]() |
To use the component assembly generated using the MATLAB® Builder™ NE product from the client application, you must
Reference the namespace for the MATLAB® data conversion assembly, as shown:
using MathWorks.MATLAB.Arrays;
Reference the namespace for the builder assembly generated for your particular component, 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.Arrays; using MyComponentName;
Note The builder supports shared assemblies. To build your component as a shared assembly, click the Settings button in the Deployment Tool toolbar, and select .NET in the navigation pane. On the .NET page, select public. Alternatively, you can use the mcc - B option with the dotnet bundle; see Using the Command Line to Create .NET Components. |
![]() | Installing the Components on the Development Machine | Creating an Instance of the Class | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |