Function that has a text file as input
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi I somehow know how to create a new function in matlab, while the function has NUMBERS as input. How can I define a Text file as input for my Matlab function? your answers really makes my life easier.
댓글 수: 0
채택된 답변
Jan
2012년 2월 29일
What exactly do you mean by "text file"? The name or the contents of the file?
Both possibilities mean, that the input is a string, but in the first case, the input is treated as file name.
댓글 수: 2
Jan
2012년 3월 9일
What did you do exactly and what does "it does not work" mean explicitely? Currently the description of the problems is too vague to allow a specific answer.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Export에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!