Pass data between apps using a radio button

I have an application that consists of the following,
I have a window one where you must select one of the options with 2 radio buttons What I want is that depending on the selection that the user takes. That data(value of the radio button) is transferred window 2 so that the corresponding graphs or information can be executed depending on the selection.

6 个评论

What you are trying to achieve is a multi-window app and Adam Danz provided the correct matlab documentation link.
Hi Adam Danz and Sourabh Kondapaka,
but I have consulted that documentation many times and it does not help and apparently it is a very questioned question because I saw many questions related to this and they have not been resolved successfully.
I agree Adriana Dasier Marchena Garcia, I got the same problem as her, and there aren't any solutions on the Internet explaining how to solve that problem.
It's true i tried the same "solution" and didn't get any positive result. I wish that in a not so far future this problem gets a more definitive solution.
> What I want is that depending on the selection that the user takes. That data(value of the radio button) is transferred window 2 so that the corresponding graphs or information can be executed depending on the selection.
If "window 2" is another app, then that link and the link below contains everything you need for you to learn how to do this and there are very many similar similar questions in this forum that have terrific answers. These links show you how to access the "app" handle from within another app or from anywhere outside of the app. Once you have that handle you have access to the radio button values.
If "window 2" is a figure or something else, it depends on what's generating that figure. If the figure is generated internally to the app, then you already have access to the radio button values within the app. If the figure is generated outside of the app, then the link I shared are what you need to learn how to access the app handle.
In case that's still not enough, here are other examples,

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by