필터 지우기
필터 지우기

Downloading codes and running code

조회 수: 10 (최근 30일)
Shahrin Islam
Shahrin Islam 2018년 8월 8일
댓글: Shahrin Islam 2018년 8월 8일
Hello everyone. I am a new user of matlab and trying to learn coding from the file exchange section. Whenever I download a code I get a number of m format files after extracting that. My question is how to use the m files? Should I use them separately as I get them or should I combine them and then run it to get the actual results? Please help me. Thanks in advance.

채택된 답변

Stephen23
Stephen23 2018년 8월 8일
편집: Stephen23 2018년 8월 8일
"Whenever I download a code I get a number of m format files after extracting that."
First step: extract the files to the MATLAB Search Path or the current directory.
"My question is how to use the m files?"
That depends on how their authors wrote them! Badly written submissions might include simple scripts, better submissions will include functions or classes that you can call after reading their help.
Some submissions might require compilation:
But if the files are basic .m files then you can just run them right away, following the instructions and help included with the files themselves.
Many FEX submission include demo files or examples in the online description. Most should include a help section in the .m files themselves, so you can use that to know how to use them. If they do not have a help section then give the FEX submission a one star rating!
"Should I use them separately as I get them or should I combine them and then run it to get the actual results?"
Most people want their FEX submissions to be as easy to use as possible, so I doubt that any authors would require their files to be "combined" or altered in any way whatsoever.
  댓글 수: 1
Shahrin Islam
Shahrin Islam 2018년 8월 8일
Thank you so much for your time and consideration. I highly appreciate it.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by