필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Why there is error for "str_id = num2str(gr​id_id,'%2.​2i');"? what should I change?

조회 수: 1 (최근 30일)
Amra Rajuli
Amra Rajuli 2018년 1월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
Why there is error for "str_id = num2str(grid_id,'%2.2i');"? what should I change? the error message is:
Not enough input arguments.
Error in data_proc (line 174) str_id = num2str(grid_id,'%2.2i');
  댓글 수: 1
Guillaume
Guillaume 2018년 1월 29일
If you want help with an error, at a minimum state what the error is. We certainly can't guess. Best is to copy the full error message, everything in red.

답변 (1개)

Guillaume
Guillaume 2018년 1월 30일
편집: Guillaume 2018년 1월 30일
"Why there is error"
Most likely, because you called data_proc with less than 4 arguments. The error will happen if you call data_proc with, for example,
data_proc(0, 10, 2)
instead of
data_proc(0, 10, 2, 6)

이 질문은 마감되었습니다.

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by