Hello everybody I built a gui using GUIDE but I have a problem I cannot resolve. In my gui when I click on a button I make appear a new window with two empty fields. Using the command inputdlg I am able two acquire two diferent numeric data. Now the problem is that I want to make that data available for the main function of my gui. I explain better the problem. I want to click on a button, define a certain number of numeric parameters in a new window, close that window and using the parameters I acquired in another function. Someone could help me or give me any advices? Thank you in advance to everyone!
you can store those data in Userdata of any of your objects
Check the FAQ for several methods of sharing variables between different custom functions, call back functions and different GUIs. http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F