Is it possible to use variables in Filter Design task controls

When trying to use the Live Editor, I tried to add a filter design task. I want to be able to use variables from the workspace in the filter design, but when I try to input the variable name, I just get a pop-up indicating "Value must be numeric". I would expect the control to evaluate the variable?

Answers (1)

Hi Bailey,
I understand you are trying to use variables in filter design task in a live script. For me this worked in MATLAB R2025a. It’s hard to judge why you are facing this error without more information. But here’s what I applied:
Hope this helps!

Products

Release

R2025b

Asked:

on 3 Dec 2025

Answered:

on 15 Dec 2025

Community Treasure Hunt

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

Start Hunting!