save function in matlab

1 回表示 (過去 30 日間)
reem
reem 2011 年 3 月 18 日
How can I save the function in a separate file in Matlab?? I am new student in Matlab and I want to know ,how to do this? Thanks in advance

採用された回答

Paulo Silva
Paulo Silva 2011 年 3 月 18 日
  1 件のコメント
reem
reem 2011 年 3 月 18 日
Thank you so muuch
may ALLA protect you

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 3 月 18 日
Use the editor File->New (Empty File). Paste in the code or type in the code to the new document produced. Save the file.
  1 件のコメント
reem
reem 2011 年 3 月 18 日
Thank you so much for your fast answer
if you do not have any objection mr.walter ,could you answer me?
I want to ensure and know ,I read sometime in Questions write a function and another Questions write a program
what is the difference between them,I think the function not need to made any program(I mean only write the function that do the operation,not program)??

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by