For Programmers: Free Programming Magazines  


Home > Archive > Matlab > January 2008 > passing parameters to simulink from matlab workspace









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author passing parameters to simulink from matlab workspace
Ashwini Deshpande

2007-12-12, 4:36 am

Hello Everybody,

I am trying to pass variables from Matlab base Workspace to
Simulink Blocks, for that i am using assignin, evalin and
sim commands. With all this i m able to pass variables to
all the simulink blocks except signal builder.

For the signal builder to update the signal for any change
made in the base workspace, i need to go to
Signal menu->Customize Signal-> Then enter variable name
mannually.

So my question is: Is there any way to update the signals in
Signal Builder automatically whenever there occures change
in the base workspace of the matlab.

Kindly help me ... It is very urgent requirement for me..
Thanks in Advance,
Regards,
Ashwini
filipe conceicao

2008-01-23, 7:54 pm

"Ashwini Deshpande" <vd.ashwini@mathworks.com> wrote in
message <fjnu9d$aal$1@fred.mathworks.com>...
> Hello Everybody,
>
> I am trying to pass variables from Matlab base Workspace

to
> Simulink Blocks, for that i am using assignin, evalin and
> sim commands. With all this i m able to pass variables to
> all the simulink blocks except signal builder.
>
> For the signal builder to update the signal for any

change
> made in the base workspace, i need to go to
> Signal menu->Customize Signal-> Then enter variable name
> mannually.
>
> So my question is: Is there any way to update the

signals in
> Signal Builder automatically whenever there occures

change
> in the base workspace of the matlab.
>
> Kindly help me ... It is very urgent requirement for me..
> Thanks in Advance,
> Regards,
> Ashwini


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com