Changing HDL FIR filter numerator while simulation is running

1 visualizzazione (ultimi 30 giorni)
We are working on zynq 706 using MATLAB. we are using HDL optimized FIR filter in simulink and we are trying to change filters numenator . but each time we need to stop the simulation for cahnging numenator . How can we change the parameters while simulations contionue to run

Risposte (2)

Bharath Venkataraman
Bharath Venkataraman il 18 Gen 2022
Modificato: Bharath Venkataraman il 18 Gen 2022
You can set the property Coefficients Source to input port and feed the coefficients via the input port. This will allow you to change coefficients without having to stop the simulation.

muhammad ahmad
muhammad ahmad il 31 Gen 2022
As you have suggested we have set the coofficient source to input port but still we are not able to change the parametere on runtime. we are using the ZYNQ706 harware to run the HDL algorithm . Each time we need to stop the simulation to update the filter cooficients
  2 Commenti
Bharath Venkataraman
Bharath Venkataraman il 31 Gen 2022
I think it may be best for you to contact MathWorks support with your specific files to see if we can look further into the problem at hand.
muhammad ahmad
muhammad ahmad il 31 Gen 2022
If we run the model in normal simulation mode on PC we are able to change it on run time while when we implement it on ZYNQ706 we need to stop simulation for updating filter coofficients.is there any method to overcome the issue

Accedi per commentare.

Prodotti


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by