Prev: how to update premise and consequent parameters
Next: Problem with digits in an image name -Eg:img000111.png
From: janas21 on 18 Jul 2010 13:31 Hello, I am creating a GUI. I have to create a pushbutton which when i click it 4 other *m files have to run simultaneously. My problem is that while i know how to do it for 1 *.m file, i do not know how to do it for 4. eg. for 1 *.m file i am using the code: S.pb = uicontrol('style','push',... 'units','pixels',... 'position',[240 10 100 30],... 'fonts',14,... 'str','Click',... 'callback',{@pb_call1}); function b = pb_call(varargin) %pb_call - callback b=first_m_file; end Can you please suggest me how I can run with the same button, 4 different .m files? (The files are in the same folder directory). Thanks best regards janas |