From: Andrea on
Hello,


I am looking for help or advice concerning the use of simulink design optimization to estimete parameters contained in an embedded m-file in my model. I can't find a way to add these as variables to be estimated in the GUI and the user guide doesn't mention it.

Thanks
From: Bora Eryilmaz on
Please see the documentation on adding parameters to Embedded MATLAB blocks
in Simulink:

http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f6-140155.html

Using a variable from MATLAB workspace in the Embedded MATLAB block, you
should be able to run parameter estimation in Simulink Design Optimization
as usual. The crucial point is that you need to have the parameters defined
in MATLAB or model workspace and then use them in the embedded block as
described in the link above.

Hope this helps.
Bora



"Andrea " <ttaa2(a)lboro.ac.uk> wrote in message
news:hkujno$4il$1(a)fred.mathworks.com...
> Hello,
>
>
> I am looking for help or advice concerning the use of simulink design
> optimization to estimete parameters contained in an embedded m-file in my
> model. I can't find a way to add these as variables to be estimated in the
> GUI and the user guide doesn't mention it.
>
> Thanks