how to create a input file?

조회 수: 1 (최근 30일)
Jing Lin Ng
Jing Lin Ng 2014년 4월 21일
댓글: Jing Lin Ng 2014년 4월 23일
I have two function file (A & B). I would like to put all the variables that I found in function A file into an input file. That means all the variables from A function file is saved in that input file. So that B function can recall the variables from the input file. Does anyone know how to create the input file?? Million thanks.

채택된 답변

Walter Roberson
Walter Roberson 2014년 4월 21일
You can use save() to create a .mat file that you later load() from.
  댓글 수: 9
Walter Roberson
Walter Roberson 2014년 4월 22일
Those techniques can be used even when you are not using callback functions.
Jing Lin Ng
Jing Lin Ng 2014년 4월 23일
alright thanks for you answer!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by