Adding variables to a plugin interface

Hello,
I'm working on a BiQuad plugin in Matlab. In the code, I generate the coeffients and use these to build the filter. I'm trying to figure out how to display the coefficent variables in the plugin interface window. Would anyone know how to do that and add it to the grid layout? Thank you.

Answers (1)

Ritam
Ritam on 15 Apr 2026 at 9:19
One approach you could try is to surface the computed BiQuad coefficients as public plug‑in properties and then expose them in the plug‑in UI as “audioPluginParameters” within your constant created using “audioPluginInterface”. With this setup, whenever the user changes your design controls, you recompute the coefficients and update those properties, so the displayed values stay in sync. If you were considering a uilabel-style readout, that typically applies to an App Designer UI, whereas the generated audio plug‑in interface itself is mainly parameter‑driven, so exposing coefficients via “audioPluginParameter” is usually the most portable way to show them.
For more information on “audioPluginParameters”, you can refer to the following MathWorks documentation: https://www.mathworks.com/help/audio/ref/audiopluginparameter.html
For more information on “audioPluginInterface”, you can refer to the following MathWorks documentation: https://www.mathworks.com/help/audio/ref/audioplugininterface.html
You may find the following documentation useful: https://www.mathworks.com/help/audio/ug/plugin-gui-design.html

Categories

Find more on Audio Plugin Creation and Hosting in Help Center and File Exchange

Products

Release

R2025a

Asked:

on 5 Apr 2026 at 22:05

Answered:

on 15 Apr 2026 at 9:19

Community Treasure Hunt

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

Start Hunting!