How to save subplots in matlab app designer ?

4 views (last 30 days)
Hi all
I am trying to save a subplot via app designer, but I have been unsuccessfull and I get this error : please check the attached file for the code
Error: Reference to a cleared variable app.
by the way this is how the image is created, it is supposed to be 6 subplots

Accepted Answer

Ameer Hamza
Ameer Hamza on 27 Mar 2020
I found that your app was created in R2017b. However, that release does not support subplots for uiaxes. This support was added from R2018b. Steven's answer here: https://www.mathworks.com/matlabcentral/answers/339320-is-subplot-supported-in-app-designer-r2017a-and-if-not-when-might-it-be-supported provide a workaround for R2017b by creating an invisible figure.
  2 Comments
farzad
farzad on 27 Mar 2020
yes dear Ameer, that's true, but if you check my code, you see that I was actually doing that, I don't know why it's not working
farzad
farzad on 30 Mar 2020
Shall you help me with this, I need to do that in R2017b

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!