ParamUI_MATLAB
Create UI from simple parameter table. Easy UI generation with LLM such as ChatGPT
- Create App with UI from simple parameter table
- Easy code generation using ChatGPT
mkdir('./paramui_demo');
cd('./paramui_demo');
websave('paramui.m','https://github.com/covao/ParamUI_MATLAB/raw/main/paramui.m');
websave('hello_paramui.m','https://github.com/covao/ParamUI_MATLAB/raw/main/hello_paramui.m');
hello_paramui;
Parameter table is containing the following columns
- Prameter Variable
- Parameter Label
- Initial Value
- Range
- Slider: [Min,Max,Step]
- Check Box: []
- Edit Box: []
- Button: 'button'
- Selecter: {'A','B'}
- FileName: '*.txt;*.doc'
- Button: 'button'
% Hello ParamUI
ParameterTable = {
'A', 'Parameter A', 0.5, [0, 1, 0.1];
'B', 'Parameter B', 150, [100, 500, 10];
'F1', 'Flag 1', true, [];
'F2', 'Flag 2', false, [];
'S1', 'Select 1','Two',{'One','Two','Three'};
'S2', 'Select 2','Three',{'One','Two','Three'};
'Name1','Name 1','Taro', [];
'Name2','Name 2','Jiro', [];
'File1','File 1','', '*.m; *.asv';
'Folder','Folder1','', 'folder';
'Run', 'Run!', false, 'button';
};
usrFunc = @(Prm) disp(Prm);
paramui(ParameterTable, usrFunc);
pu = paramui(ParameterTable);
while(pu.IsAlive)
disp(pu.Prm);
pause(0.5);
end
usrFunc = @(Prm) disp(Prm);
paramui(ParameterTable, usrFunc, false);
disp(pu.Prm)
- Generate prompt of UI app using LLM
Try prompt! e.g. ChatGPT, Bing Chat, Bard, MATLAB AI Chat Playground
Start ParamUI Prompt Designer
引用
covao (2025). ParamUI_MATLAB (https://github.com/covao/ParamUI_MATLAB/releases/tag/1.1), GitHub. に取得済み.
MATLAB リリースの互換性
作成:
R2023a
R2016a 以降のリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.1 | See release notes for this release on GitHub: https://github.com/covao/ParamUI_MATLAB/releases/tag/1.1 |
||
1.0 |
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。