Re: Coupling Fortran Code with Simulink
- From: "Mr Hrundi V Bakshi" <mrhrundivbakshi@xxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 12:20:21 -0400
"Marco Polloni" <polloni_marco@xxxxxxxxx> wrote in message
news:1130510446.696568.195360@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi everybody.
>
> I'm trying to use a DLL library that contains a Matlab/Simulink model
> in a code written in Fortran.
>
> The problem is that the DLL has been generated automatically by
> Simulink. It is made for Visual C/C++ (which is integrated in my Compaq
> Visual Fortran), but I don't know the name given by Simulink to the
> main function, so I can't get the address of it (I'm following the
> LOADEXP1 example) with getProcAddress.
> How can I get that address?
>
> It seems to me that Simulink models translate the variables in a
> structure: how could I give inputs and get outputs from/to the DLL in
> the right way?
>
Are you sure that the Simulink DLL can be used outside Matlab's namespace?
See:
http://www.mathworks.com/products/ineligible_programs/
Bye,
Hrundi V.B.
.
- References:
- Coupling Fortran Code with Simulink
- From: Marco Polloni
- Coupling Fortran Code with Simulink
- Prev by Date: Re: complex arithmetics
- Next by Date: Re: IMPLICIT NONE (F2k8+/-)
- Previous by thread: Re: Coupling Fortran Code with Simulink
- Next by thread: Re: Coupling Fortran Code with Simulink
- Index(es):
Relevant Pages
|