採用された回答

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 ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by