UIAxes error while creating controlchart

1 view (last 30 days)
Grace
Grace on 28 Nov 2022
Commented: Grace on 28 Nov 2022
Hello
I am currently creating an app for basic SPC. When I run the code with
,
a popup window shows up with the chart.
Changing the line to this
shows an error i.e 'X must be a vector or matrix'.
Is there a way of plotting this control chart on the UI axes? Note that the data being read is from an excel sheet.
Your help will be highly appreciated. Thank you.

Answers (1)

Walter Roberson
Walter Roberson on 28 Nov 2022
use the 'parent' option to pass in the axes
  1 Comment
Grace
Grace on 28 Nov 2022
Hello
Thank you for your response. I am abit rusty in the app designer. Could you please expound on this point? I have read the documentation here but I still do not understand how to solve the problem.
Thank you.

Sign in to comment.

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!