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

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

Catégories

En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by