필터 지우기
필터 지우기

how to run an already written code?

조회 수: 30 (최근 30일)
Houda
Houda 2014년 11월 13일
댓글: benjamin chan 2020년 3월 3일
I am not skilled in using matlab, I am PhD and I asked a code from an author he sent it to me , but I do not know how to run it and to try to find the results in his paper??
  댓글 수: 6
Adam
Adam 2014년 11월 13일
The unzipped folder of .m files must be on your Matlab path. It can be anywhere on your file system so long as it is on your path though it makes sense to keep all your Matlab files in a small number of locations.
benjamin chan
benjamin chan 2020년 3월 3일
I am having this problem as well. The following weblink (www.mathworks.com/matlabcentral/fileexchange/41738-vinpfn?focused=3787428&tab=function) and the file shared does not seem to work. The user manual explicitly states "The VINPFN program is launched by the vinpfn command with no input arrangements." However, when I open the code and run it, I receive error messages that don't make much sense.

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

채택된 답변

MA
MA 2014년 11월 13일
open your matlab program then click on open file icon on the top of program, it open new window for you then choose yor m-file from unzip td, in the new window click run icon that show with the green play picture on top of window and see your result
  댓글 수: 7
Houda
Houda 2014년 11월 13일
It is a code about disaggregation, I want to use the commonly used method to disaggregate Tunisian data. Yes I think that I must read under scrutiny the written code and find the error source. Thanks for the help Adam, M.A and Guillaume (this my e-mail: boubakerhouda@gmail.com)
MA
MA 2014년 11월 13일
Temporal disaggregation using low-pass filtering

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

추가 답변 (1개)

Siam
Siam 2014년 11월 13일
You do not have to unzip and save that to MATLAB folder. Unzip the file where you want to unzip. Can be anywhere in your computer. After extraction open the folder and click on your .m file. MATLAB will open automatically. Hit run and it will execute unless there is an error with the code.
  댓글 수: 2
Houda
Houda 2014년 11월 13일
thanks Siam, really I worried the question about the folder location. is there a simple documents other the user guides or websites to understand programming on matlab??
Siam
Siam 2014년 11월 13일
you can use > help < in your MATLAB command window as well.

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by