
Is it possible to use variables in Filter Design task controls
28 views (last 30 days)
Show older comments
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?
1 Comment
Anumeha
1 minute 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!
Answers (0)
See Also
Categories
Find more on Analog Filters 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!