From: nordmoon on
I was wondering if it is possible to use C# to create an interface that executes matlab (.m) files/functions on command from the C# interface?

Is this even possible? If so, how can I do this?

Many Thanks!

Ps. I have matlab version 7.1 and Visual Studio
From: Rune Allnor on
On 23 Feb, 11:40, nordmoon <ariana...(a)gmail.com> wrote:
> I was wondering if it is possible to use C# to create an interface that executes matlab (.m) files/functions on command from the C# interface?
>
> Is this even possible? If so, how can I do this?

It should be possible through the COM interface.

Rune
From: nordmoon on
Does there exist any examples, documentations?

I would like to execute a calculation (create an emission sepctra) and then plot the result. Also save the result into a text file.

How can I do this?

I have the code for calculating the spectra in matlab, but how do I call these functions?

Is it complicated?