Delete table from GUI app variable

5 ビュー (過去 30 日間)
Federico F
Federico F 2019 年 7 月 17 日
コメント済み: Jan 2019 年 7 月 19 日
Hi all,
I have a GUI designed in Matlab called app. In app there is a table table that a certain point I want to delete to save memory, how can I do it? clear app.table does not work
Thanks

回答 (1 件)

Jan
Jan 2019 年 7 月 17 日
編集済み: Jan 2019 年 7 月 19 日
Perhaps you mean:
delete(app.table)
  2 件のコメント
Jan
Jan 2019 年 7 月 19 日
[MOVED from section for answers] Federico F wrote:
It returns
"Error using delete
Name must be a string scalar or character vector."
But then
delete('app.table')
Warning: File 'app.table' not found.
[Please post comments in the section for comments - Thanks.]
Jan
Jan 2019 年 7 月 19 日
@Frederico F: If the solution is not trivial, please take the time to explain with more details, what you want to do. Why do you think you should save memory? What do you exactly want to delete? What does "does not work" mean explicitly? What does "In app there is a table table" mean? An uitable object? What is the class of this object:
class(app.table)

サインインしてコメントする。

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by