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

7 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Develop 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