I'm trying to load a cvs .txt file into an array:
data = csvread('ex1data2.txt');
but I get the following error:
% code
Error: File: ex1_multi.m Line: 134 Column: 6
The expression to the left of the equals sign is not a valid target for an assignment.
end

댓글 수: 2

KSSV
KSSV 2017년 6월 20일
How your txt file is?
Nima Rezaeian
Nima Rezaeian 2017년 6월 20일
편집: Nima Rezaeian 2017년 6월 20일
It's a comma-value separated .txt file.

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

 채택된 답변

Walter Roberson
Walter Roberson 2017년 6월 20일

1 개 추천

You have a problem with your previous line, such as a missing ]

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Files and Folders에 대해 자세히 알아보기

태그

질문:

2017년 6월 20일

댓글:

2017년 6월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by