Hi, in the callback function you can access the calling GUI element with gcbo. As those elements have an userdata property, you can assign an array or list to that property and then access this array or list from elsewhere.
In the callback function: my_array_or_list(1)=uigetfile(); my_array_or_list(2)="what_else_you_need"; set(gcbo, "userdata", my_array_or_list); And if you want to access the data: my_array_or_list=get(findobj("tag";"the_tag_you_had_defined_for_your_button"), "userdata"); -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users