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?

Antworten (1)

Anumeha
Anumeha am 15 Dez. 2025

0 Stimmen

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!

Produkte

Version

R2025b

Gefragt:

am 3 Dez. 2025

Beantwortet:

am 15 Dez. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by