views:

318

answers:

1

Hi,

I am creating a quite complex digital filter in Simulink. For testing I generate a .txt file i .NET application and use this file as a source in Simulink model.

Does anyone know whether it is possible to generate a Simulink model, define input and output and then connect it with .NET application?

A: 

You question is a little unclear. Are you trying to use MATLAB code inside of a .NET application you have created, or are you trying to access a .NET assembly in MATLAB?

If it's the first one, you will have to check out the MATLAB Builder NE, which costs ~$5000 per license. If it's the second one, it is freely built into MATLAB but there are some limitations as far as things that can be exposed and data type conversions. A more complete description is given on the MathWorks website under Support > Documentation > External Interfaces > MATLAB Interface to .NET framework.

Michael Morris