How do I fix these errors?
조회 수: 1 (최근 30일)
이전 댓글 표시
Keeps telling me theres an error with the parenthesis but I am not sure why.
답변 (1개)
cdawg
2023년 3월 29일
편집: cdawg
2023년 3월 29일
So the line that has the error (Line 9) you cut off- so I can't see the entire expression. But I see "C1;" ... try "C1,". You shouldn't have semicolons separating the inputs to your function. Also, you don't have a comma after the first input: it should be fprintf('blah blah blah', C1, ...). Right now you have the comma on the inside of the quotes.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!