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.

回答 (1 件)

Ritam
Ritam 2026 年 4 月 15 日 9:19

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeAudio Plugin Creation and Hosting についてさらに検索

製品

リリース

R2025a

質問済み:

2026 年 4 月 5 日 22:05

回答済み:

2026 年 4 月 15 日 9:19

Community Treasure Hunt

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

Start Hunting!

Translated by