매트랩 오류 배열 인덱스는 양의 정수이거나 논리값이어야 합니다.에 대한 오류가 발생한 이유는 무엇인가요?

1 Comment

Kyoung Moon Lee
Kyoung Moon Lee on 4 Jul 2024
func1 함수의 코드가 어떻게 구성되어 있는지 알 수가 없어 정확한 답변을 드리기 어려울 것 같습니다.

Sign in to comment.

Answers (1)

lazymatlab
lazymatlab on 4 Jul 2024

1 vote

func1을 함수로 사용하시려는 것 같은데, 에러 메시지를 보면 변수 func1이 있는게 아닌가 싶습니다. 함수가 func1이 있다면 clear 후에 다시 실행해보세요.

Categories

Products

Release

R2024a

Asked:

on 4 Jul 2024

Answered:

on 4 Jul 2024

Community Treasure Hunt

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

Start Hunting!