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

6 views (last 30 days)
Hi all,
can any one suggest me, how to use "controlchart" function in appdesigner?

Answers (1)

Kanishk
Kanishk on 24 Jan 2025
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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!