Main Content
NetDocEnum
Example Assembly
The C# example NetDocEnum.cs
, in the
matlabroot
/extern/examples/NET/NetSample
folder, defines enumerations used in examples. To see the code, open the file in MATLAB® Editor. To run the examples, build the NetDocEnum
assembly as described in Build a .NET Application for MATLAB Examples.
If the NetDocEnum
assembly is in your c:\work
folder, load the file:
dllPath = fullfile('c:','work','NetDocEnum.dll'); asm = NET.addAssembly(dllPath); asm.Enums
ans = 'NetDocEnum.MyDays' 'NetDocEnum.Range'