asmInfo = NET.addAssembly(globalName)
asmInfo = NET.addAssembly(privateName)
loads
a global .NET assembly into MATLAB®.asmInfo
= NET.addAssembly(globalName
)
loads
a private .NET assembly.asmInfo
= NET.addAssembly(privateName
)
NET.addAssembly
does not support
assemblies generated by the MATLAB Compiler SDK™ product.
|
One of the following:
|
|
Character vector representing the full path of a private assembly. |
|
|
Display today's date using System.DateTime
in
the mscorlib
assembly.
System.DateTime.Now.ToLongDateString
Call the System.Windows.Forms.MessageBox.Show
method
in the global assembly System.Windows.Forms
.
asm = NET.addAssembly('System.Windows.Forms'); import System.Windows.Forms.* MessageBox.Show('Simple Message Box')
Display classes in the private assembly NetSample.dll
.
asm = NET.addAssembly('c:\work\NetSample.dll');
asm.Classes