From: Ansgar Hoffmann on
Hello,

I would like to generate an Exe-Application base on a Simulink model. This model contains several C/C++ coded S-Functions.

These S-Functions are supported by different people and usually I do not have the original C-Code (black box).

Is there a possibility to generate a stand alone application with the RTW or RSim target that runs with the ‘original’ mexw32-files?

Thanks
Ansgar
From: Arnaud Miege on

"Ansgar Hoffmann" <ansgar.hoffmann(a)continental-corporation.com> wrote in
message news:h9qa4i$eko$1(a)fred.mathworks.com...
> Hello,
>
> I would like to generate an Exe-Application base on a Simulink model. This
> model contains several C/C++ coded S-Functions.
>
> These S-Functions are supported by different people and usually I do not
> have the original C-Code (black box).
>
> Is there a possibility to generate a stand alone application with the RTW
> or RSim target that runs with the &#8216;original&#8217; mexw32-files?
>
> Thanks
> Ansgar
>

Are these S-functions generated by Real-Time Workshop or hand-coded? If
automatically generated, the following might help:
http://www.mathworks.com/support/solutions/en/data/1-4JEC1P/
http://www.mathworks.com/support/solutions/en/data/1-1BUQG/

Not sure if it is hand-coded.

Arnaud


From: Ansgar Hoffmann on
"Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <h9qat8$4ed$1(a)fred.mathworks.com>...
>
> "Ansgar Hoffmann" <ansgar.hoffmann(a)continental-corporation.com> wrote in
> message news:h9qa4i$eko$1(a)fred.mathworks.com...
> > Hello,
> >
> > I would like to generate an Exe-Application base on a Simulink model. This
> > model contains several C/C++ coded S-Functions.
> >
> > These S-Functions are supported by different people and usually I do not
> > have the original C-Code (black box).
> >
> > Is there a possibility to generate a stand alone application with the RTW
> > or RSim target that runs with the &#8216;original&#8217; mexw32-files?
> >
> > Thanks
> > Ansgar
> >
>
> Are these S-functions generated by Real-Time Workshop or hand-coded? If
> automatically generated, the following might help:
> http://www.mathworks.com/support/solutions/en/data/1-4JEC1P/
> http://www.mathworks.com/support/solutions/en/data/1-1BUQG/
>
> Not sure if it is hand-coded.
>
> Arnaud
>

Hi,

the S-Functions are 'hand-coded' (due to historical reasons ;-) )

Ansgar
From: Arnaud Miege on

"Ansgar Hoffmann" <ansgar.hoffmann(a)continental-corporation.com> wrote in
message news:h9qcl6$r9v$1(a)fred.mathworks.com...
> "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message
> <h9qat8$4ed$1(a)fred.mathworks.com>...
>>
>> "Ansgar Hoffmann" <ansgar.hoffmann(a)continental-corporation.com> wrote in
>> message news:h9qa4i$eko$1(a)fred.mathworks.com...
>> > Hello,
>> >
>> > I would like to generate an Exe-Application base on a Simulink model.
>> > This
>> > model contains several C/C++ coded S-Functions.
>> >
>> > These S-Functions are supported by different people and usually I do
>> > not
>> > have the original C-Code (black box).
>> >
>> > Is there a possibility to generate a stand alone application with the
>> > RTW
>> > or RSim target that runs with the &#8216;original&#8217; mexw32-files?
>> >
>> > Thanks
>> > Ansgar
>> >
>>
>> Are these S-functions generated by Real-Time Workshop or hand-coded? If
>> automatically generated, the following might help:
>> http://www.mathworks.com/support/solutions/en/data/1-4JEC1P/
>> http://www.mathworks.com/support/solutions/en/data/1-1BUQG/
>>
>> Not sure if it is hand-coded.
>>
>> Arnaud
>>
>
> Hi,
>
> the S-Functions are 'hand-coded' (due to historical reasons ;-) )
>
> Ansgar
>

I didn't spot it at first, but there is a technical solution for
hand-written s-function that may help:
http://www.mathworks.com/support/solutions/en/data/1-3JK8LD/

HTH,

Arnaud


From: Ansgar Hoffmann on
"Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <h9qfjp$bec$1(a)fred.mathworks.com>...
>
> "Ansgar Hoffmann" <ansgar.hoffmann(a)continental-corporation.com> wrote in
> message news:h9qcl6$r9v$1(a)fred.mathworks.com...
> > "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message
> > <h9qat8$4ed$1(a)fred.mathworks.com>...
> >>
> >> "Ansgar Hoffmann" <ansgar.hoffmann(a)continental-corporation.com> wrote in
> >> message news:h9qa4i$eko$1(a)fred.mathworks.com...
> >> > Hello,
> >> >
> >> > I would like to generate an Exe-Application base on a Simulink model.
> >> > This
> >> > model contains several C/C++ coded S-Functions.
> >> >
> >> > These S-Functions are supported by different people and usually I do
> >> > not
> >> > have the original C-Code (black box).
> >> >
> >> > Is there a possibility to generate a stand alone application with the
> >> > RTW
> >> > or RSim target that runs with the &#8216;original&#8217; mexw32-files?
> >> >
> >> > Thanks
> >> > Ansgar
> >> >
> >>
> >> Are these S-functions generated by Real-Time Workshop or hand-coded? If
> >> automatically generated, the following might help:
> >> http://www.mathworks.com/support/solutions/en/data/1-4JEC1P/
> >> http://www.mathworks.com/support/solutions/en/data/1-1BUQG/
> >>
> >> Not sure if it is hand-coded.
> >>
> >> Arnaud
> >>
> >
> > Hi,
> >
> > the S-Functions are 'hand-coded' (due to historical reasons ;-) )
> >
> > Ansgar
> >
>
> I didn't spot it at first, but there is a technical solution for
> hand-written s-function that may help:
> http://www.mathworks.com/support/solutions/en/data/1-3JK8LD/
>
> HTH,
>
> Arnaud
>

Hi,

well, but I can not use the obj-files, because the S-Functions were build with different compilers (Borland and Microsoft) - as far as I know.

So I need to use the *.mexw32 files.

Greetings
Ansgar