app designer Control chart-How to construct shewhart control charts in app designer?

7 ビュー (過去 30 日間)
Dhanaraj Nelapati
Dhanaraj Nelapati 2020 年 2 月 25 日
回答済み: Kanishk 2025 年 1 月 24 日
Hi all,
can any one suggest me, how to use "controlchart" function in appdesigner?

回答 (1 件)

Kanishk
Kanishk 2025 年 1 月 24 日
To use "controlchart" in the app designer and display the plot inside the app you can use the "parent" property of "controlchart".
In the App designer, drag an UIAxes object to app in design view. Implement a startup function using the functions option in Code view. Use the "controlchart" function with the 'Parent' property set to the UIAxes in the app to plot the chart in the App itself.
function startupFcn(app)
load parts.mat;
stats = controlchart(runout,ChartType="xbar", parent=app.UIAxes);
end
You can follow the MATLAB documentation for "controlchart" to get the properties of the function here.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by