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

回答 (1 件)

Vishal Rane
Vishal Rane 2012 年 11 月 29 日

0 投票

Use the copyfile command.

カテゴリ

ヘルプ センター および File ExchangeInteractive Control and Callbacks についてさらに検索

質問済み:

2012 年 11 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by