Plotting regions of interest using plotsigroi() in app designer

5 views (last 30 days)
Chereé Du Plessis
Chereé Du Plessis on 4 Oct 2021
I am designing an app with app designer and would like to know if there is any way that you can assign a specific UIAxes to the plotsigroi() method? I have used the Regions of Interest in Audio File example (MATLAB command: openExample('signal/RegionsOfInterestInAudioFileExample')) and my code works in a normal live script as well as app designer, although it creates a new figure for the plot. I would like the plot to be displayed on a specified axes on my GUI.

Answers (1)

Harikrishnan Balachandran Nair
You can copy the 'axes' returned by the 'plotsigroi' function to the required destination using the 'copyobj' function.

Community Treasure Hunt

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

Start Hunting!