From: kushal on
"Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hlds8g$66t$1(a)fred.mathworks.com>...
>
> "Saravanan Mani" <saravanan.ms55(a)gmail.com> wrote in message
> news:hlbbkv$svm$1(a)fred.mathworks.com...
> > Dear Sir/Madam,
> >
> > Please can you tell me anybody.....
> > How to convert simulink model (I mean .mdl file) to m-file ?
> >
> > Thanks & Regards,
> >
> > Saravana Mani
> > 9940020256
> > Chennai, India.
> > saravanan.mani84(a)gmail.com
> >
>
> Can you explain why you would want to do that? There's a whole bunch of
> command line functions that allow you to interact with Simulink from MATLAB?
> What are you trying to do?
>
> Arnaud
>
From: kushal on
"Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hlds8g$66t$1(a)fred.mathworks.com>...
>
> "Saravanan Mani" <saravanan.ms55(a)gmail.com> wrote in message
> news:hlbbkv$svm$1(a)fred.mathworks.com...
> > Dear Sir/Madam,
> >
> > Please can you tell me anybody.....
> > How to convert simulink model (I mean .mdl file) to m-file ?
> >
> > Thanks & Regards,
> >
> > Saravana Mani
> > 9940020256
> > Chennai, India.
> > saravanan.mani84(a)gmail.com
> >
>
> Can you explain why you would want to do that? There's a whole bunch of
> command line functions that allow you to interact with Simulink from MATLAB?
> What are you trying to do?
>
> Arnaud
>
There are different options available , yes, but if I want to convert a simulink mdl to m file , why can't I do that?

Regards.
From: Shanmugam Kannappan on
"kushal " <kushanand1(a)gmail.com> wrote in message <htkucc$efm$1(a)fred.mathworks.com>...
> "Arnaud Miege" <arnaud.miege(a)nospam.mathworks.co.uk> wrote in message <hlds8g$66t$1(a)fred.mathworks.com>...
> >
> > "Saravanan Mani" <saravanan.ms55(a)gmail.com> wrote in message
> > news:hlbbkv$svm$1(a)fred.mathworks.com...
> > > Dear Sir/Madam,
> > >
> > > Please can you tell me anybody.....
> > > How to convert simulink model (I mean .mdl file) to m-file ?
> > >
> > > Thanks & Regards,
> > >
> > > Saravana Mani
> > > 9940020256
> > > Chennai, India.
> > > saravanan.mani84(a)gmail.com
> > >
> >
> > Can you explain why you would want to do that? There's a whole bunch of
> > command line functions that allow you to interact with Simulink from MATLAB?
> > What are you trying to do?
> >
> > Arnaud
> >
> There are different options available , yes, but if I want to convert a simulink mdl to m file , why can't I do that?
>
> Regards.

Hi Kushal,

Do you mean,Its possible to convert mdl to .m file?
If so please let me know.
Since,as of I know we dont have any command or tool available.
but if mdl result needs to be used,you can load & set the parameters & simulate the model through command line.

Shan!