how to transfer entire cide from a.m file to b.m???

6 views (last 30 days)
I have file named 'final.m' to be used in PUSH Button Callback. But this 'final.m' comes from Radio button callback. I am Using 3 Radio buttons in GUI.each radio button has different m files name a.m ,b.m,c.m respectively,which are to be sent to PUSH Button Callback so that i can continue my calculation.
Is there any command to transfer a.m to file.m file....so tha i can transfer a.m/b.m/c.m to file.m according to my selection..
Thank you

Answers (1)

Vishal Rane
Vishal Rane on 29 Nov 2012
Use the copyfile command.

Categories

Find more on App Building in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!