채택된 답변

Image Analyst
Image Analyst 2017년 10월 1일
편집: Image Analyst 2020년 3월 30일

8 개 추천

You used to have x, but now you don't anymore. You cleared it somehow, like by calling the clear() or delete() function. For example, if you have any lines like these inside your function, remove them:
clear all; % Remove this line from inside any function.
clearvars; % Remove this line from inside any function.
clear('x'); % If you have this in your function, remove it.
Can't say much more without seeing your code.

댓글 수: 8

Adewale Obaro
Adewale Obaro 2018년 3월 16일
이동: Stephen23 2023년 8월 11일
To solve this problem, simply remove "clear all" from the function
Visweshwaran R
Visweshwaran R 2020년 3월 30일
이동: Stephen23 2023년 8월 11일
saved my day.Thanks
Ilham Apis
Ilham Apis 2020년 10월 26일
이동: Stephen23 2023년 8월 11일
Thanks
Marco Soto
Marco Soto 2021년 5월 17일
이동: Stephen23 2023년 8월 11일
Thanks
Ronald Zafra
Ronald Zafra 2022년 2월 18일
이동: Stephen23 2023년 8월 11일
Thanks
Sara
Sara 2023년 2월 13일
이동: Stephen23 2023년 8월 11일
Thanks
Luigi Frunzo
Luigi Frunzo 2023년 5월 17일
이동: Stephen23 2023년 8월 11일
Thanks! Thanks a lot I am becaming crazy!!!
Raúl Acuña
Raúl Acuña 2023년 8월 10일
이동: Stephen23 2023년 8월 11일
Thanks

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

추가 답변 (0개)

카테고리

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

제품

질문:

2017년 10월 1일

이동:

2023년 8월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by