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

1 Commento

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

Accedi per commentare.

Risposte (1)

lazymatlab
lazymatlab il 4 Lug 2024

1 voto

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

Prodotti

Release

R2024a

Richiesto:

il 4 Lug 2024

Risposto:

il 4 Lug 2024

Community Treasure Hunt

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

Start Hunting!