Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Using Net.addAssembly with mono

Subject: Using Net.addAssembly with mono

From: Giles

Date: 28 Apr, 2009 07:48:03

Message: 1 of 6

Hi

We would like to use .net assemblies through Matlab on a Linux machine.

Has anyone tried doing this using mono? or is there a better/alternative approach?

Any advice appreciated.

Subject: Using Net.addAssembly with mono

From: Goran

Date: 16 Dec, 2010 20:11:06

Message: 2 of 6

"Giles " <giles@omc-international.removeme.com.au> wrote in message <gt6cbj$kbt$1@fred.mathworks.com>...
> Hi
>
> We would like to use .net assemblies through Matlab on a Linux machine.
>
> Has anyone tried doing this using mono? or is there a better/alternative approach?
>
> Any advice appreciated.

Has anybody have success with this?

Subject: Using Net.addAssembly with mono

From: David

Date: 27 Dec, 2012 17:53:08

Message: 3 of 6

I need to do something similar:

I would like to add .NET assemblies on OS X - using Mono of course. Right now whenever I try to call the function NET.addAssembly it just tells me the function is undefined. I am using Matlab 2012a, so the function should definitely exist.

I would like a solution to this problem as well.

"Goran" wrote in message <iedroq$bbi$1@fred.mathworks.com>...
> "Giles " <giles@omc-international.removeme.com.au> wrote in message <gt6cbj$kbt$1@fred.mathworks.com>...
> > Hi
> >
> > We would like to use .net assemblies through Matlab on a Linux machine.
> >
> > Has anyone tried doing this using mono? or is there a better/alternative approach?
> >
> > Any advice appreciated.
>
> Has anybody have success with this?

Subject: Using Net.addAssembly with mono

From: Steven_Lord

Date: 31 Dec, 2012 04:26:43

Message: 4 of 6



"David " <d.pru@hotmail.com> wrote in message
news:kbi1u4$ham$1@newscl01ah.mathworks.com...
> I need to do something similar:
>
> I would like to add .NET assemblies on OS X - using Mono of course. Right
> now whenever I try to call the function NET.addAssembly it just tells me
> the function is undefined. I am using Matlab 2012a, so the function
> should definitely exist.
>
> I would like a solution to this problem as well.

The documentation indicates the .NET interface functionality is only
available on Windows.

http://www.mathworks.com/help/matlab/matlab_external/using-net-from-matlab-an-overview.html#brpb58i-1

You can file an enhancement request with Technical Support to request
equivalent functionality on non-Windows platforms using Mono.

*snip*

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: Using Net.addAssembly with mono

From: John

Date: 12 Nov, 2013 21:41:09

Message: 5 of 6

"Steven_Lord" <slord@mathworks.com> wrote in message <kbr463$rgv$1@newscl01ah.mathworks.com>...
>
>
> "David " <d.pru@hotmail.com> wrote in message
> news:kbi1u4$ham$1@newscl01ah.mathworks.com...
> > I need to do something similar:
> >
> > I would like to add .NET assemblies on OS X - using Mono of course. Right
> > now whenever I try to call the function NET.addAssembly it just tells me
> > the function is undefined. I am using Matlab 2012a, so the function
> > should definitely exist.
> >
> > I would like a solution to this problem as well.
>
> The documentation indicates the .NET interface functionality is only
> available on Windows.
>
> http://www.mathworks.com/help/matlab/matlab_external/using-net-from-matlab-an-overview.html#brpb58i-1
>
> You can file an enhancement request with Technical Support to request
> equivalent functionality on non-Windows platforms using Mono.
>
> *snip*
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Is there a reason for not including this functionality? The mono framework handles most .net with ease

Subject: Using Net.addAssembly with mono

From: Steven Lord

Date: 13 Nov, 2013 16:07:24

Message: 6 of 6


"John " <emails@email.com> wrote in message
news:l5u79l$esb$1@newscl01ah.mathworks.com...
> "Steven_Lord" <slord@mathworks.com> wrote in message
> <kbr463$rgv$1@newscl01ah.mathworks.com>...
>>
>>
>> "David " <d.pru@hotmail.com> wrote in message
>> news:kbi1u4$ham$1@newscl01ah.mathworks.com...
>> > I need to do something similar:
>> >
>> > I would like to add .NET assemblies on OS X - using Mono of course.
>> > Right now whenever I try to call the function NET.addAssembly it just
>> > tells me the function is undefined. I am using Matlab 2012a, so the
>> > function should definitely exist.
>> >
>> > I would like a solution to this problem as well.
>>
>> The documentation indicates the .NET interface functionality is only
>> available on Windows.
>>
>> http://www.mathworks.com/help/matlab/matlab_external/using-net-from-matlab-an-overview.html#brpb58i-1
>>
>> You can file an enhancement request with Technical Support to request
>> equivalent functionality on non-Windows platforms using Mono.
>>
>> *snip*
>>
>
> Is there a reason for not including this functionality? The mono framework
> handles most .net with ease

There are several possible reasons. I don't know which one(s) of these
reasons apply, as this isn't really my area of expertise. All I really know
about Mono I learned from its Wikipedia page.

1) There are not enough requests for this functionality for the developers
to plan to implement this support. [That's why I recommended contacting
Technical Support and requesting it.]

2) You indicated that the Mono framework handles "most .net with ease" --
not ALL .NET assemblies. If the set of .NET assemblies that Mono DOES NOT
handle is sufficiently large and/or "important" enough (for some definition
of "important") then the developers may not feel comfortable implementing
Mono support for the subset it DOES handle due to the "hole" in its support.

3) According to the history on Mono's Wikipedia page it looks like there was
some concern at one point about who was going to develop and be responsible
for Mono. The developers might have been hesitant to implement support for
Mono while that question was open.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us