Reference to a cleared variable x
35 ビュー (過去 30 日間)
古いコメントを表示
Reference to a cleared variable x
0 件のコメント
採用された回答
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
2023 年 5 月 17 日
移動済み: Stephen23
2023 年 8 月 11 日
Thanks! Thanks a lot I am becaming crazy!!!
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!