Is it possible to use variables in Filter Design task controls

29 views (last 30 days)
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)

Anumeha
Anumeha 3 minutes ago
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

Community Treasure Hunt

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

Start Hunting!