Clear Filters
Clear Filters

Tunable filter for Veristand code generation

2 views (last 30 days)
Hello,
I'm designing a controller to be deployed and imported as a simulation model in a test rig application using NI Veristand as front end.
The control law code generation for the application is going allright but I'm stuck trying to implement a tunable filter, lowpass Butterworth with capability to change the cutoff frequency and ideally also the order. It's straight forward and I'm able to generate a .dll with constant parameters for the filter but I would like to be able to change the filter bandwidth in run time as I'm able to change the controller gains (they are a constant block in Simulink but Veristand can edit the value since they are imported as parameters).
Thanks for the help

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!