From: David on
"chen li" <Thisdoesnotwork(a)yahoo.com> wrote in message <hba0an$9es$1(a)fred.mathworks.com>...
> Hi there,
>
> I have an .Net assembly loaded into Matlab. Some class contructor requires an argument of enum type. Does the current .net interface support .net enum now?
>
> Thanks
>
> chen


I too would like to know whether this is possible. I have a C#.NET assembly of which I can use most of the methods successfully from within matlab. The one that fails uses an enum argument. I have been able to call the assembly (including this problematic method) from VBA with success so I am confident that the assembly is ok.

The question is are there any known bugs with using .NET enums?

if I do:
>> A=NET.addAssembly(...);
>> A.Enums
then I should see any enums listed, right? I am not seeing any.

Any ideas?

Dave
(Matlab 2010a)