How plot step/lsim in an uifigure in app designer?

I'm using APP Designer to plot a step response in a uiaxes or uifigure and I'm having this error:
"Error using DynamicSystem/stepplot (line 107)
Functionality not supported with figures created with the uifigure function. For more information, see Graphics Support in App Designer."
Can you help me?

 Accepted Answer

See the attached app for an example.

5 Comments

Thank you Ameer Hamza .I just wanted axes to place the same plot as the step, because I want to work with MIMO systems and bode/root locus plot systems. I was able to do this in the old guide, but in the app designer I can't do it anymore. I'll show you a picture of how I wanted it.
It is not possible with UIAxes but can draw axes() on UIFigure. The attached app shows a simple example.
It worked on the Matlab R2020a. Thanks a lot for the help.
I am glad to be of help.
carlos i wanna help from could you help me with some problems in my project which like your's too much and i will be very glad to you

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Programmatically in Help Center and File Exchange

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!