Reference to a cleared variable x

35 ビュー (過去 30 日間)
Dawood Al Kahali
Dawood Al Kahali 2017 年 10 月 1 日
移動済み: Stephen23 2023 年 8 月 11 日
Reference to a cleared variable x

採用された回答

Image Analyst
Image Analyst 2017 年 10 月 1 日
編集済み: Image Analyst 2020 年 3 月 30 日
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 件のコメント
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 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by