Reply by navaneetha krishnan March 6, 20032003-03-06
Hi Nalin,
You have not mentioned how you are generating the
coefficients. If it is generated within simulink by
some other blocks then you can choose in the digital
filter block from DSP Blockset the option for
coefficients coming from input port and feed the
generated coefficients in that port.

If you have an m-file then it is better to write an
m-file S-function. You can also look at the existing
adaptive filters in DSP Blockset.

Navan

--- Nalin Pithwa <> wrote:
> Hello,
>
> I am using MATLAB and Simulink based
> DSP/Communications Blockset in my
> application. I need a small help. In the design of
> my system, one of the
> blocks is a FIR filter. The filter coefficients are
> generated during
> run-time and they change adaptively.
>
> How can I use those filter coefficients, which are
> generated at run-time in
> the FIR filter in Simulink ? Is it possible to store
> these coefficients in
> workspace and access the coefficients from workspace
> for use in the FIR
> filter ? If so, how do I store them in the
> workspace? If this is not
> possible, what is the other alternative?
>
> Thanks in advance,
> Nalin


__________________________________________________


Reply by Nalin Pithwa February 28, 20032003-02-28
Hello,

I am using MATLAB and Simulink based DSP/Communications Blockset in my
application. I need a small help. In the design of my system, one of the
blocks is a FIR filter. The filter coefficients are generated during
run-time and they change adaptively.

How can I use those filter coefficients, which are generated at run-time in
the FIR filter in Simulink ? Is it possible to store these coefficients in
workspace and access the coefficients from workspace for use in the FIR
filter ? If so, how do I store them in the workspace? If this is not
possible, what is the other alternative?

Thanks in advance,
Nalin