IS there a simple way to suppress the pop-up figure which is created automatically when calling clustergram()?

6 ビュー (過去 30 日間)
IS there a simple way to suppress the pop-up figure which is created automatically when calling clutergram()?
  2 件のコメント
Guillaume
Guillaume 2018 年 9 月 20 日
Do you mean clustergram (with an 's'), from the Bioinformatics toolbox?
I don't have that toolbox, but generally unless a function has an explicit option to prevent it generating its GUI there's nothing you can do.
Iddo Weiner
Iddo Weiner 2018 年 9 月 20 日
Yes thanks.
I couldn't find anything in the documentation, but maybe someone has a tip?
Of course this works:
close all force
but it's less elegant and it slows down the running time

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

回答 (1 件)

Arthur Goldsipe
Arthur Goldsipe 2018 年 9 月 20 日
Since clustergram was designed to visualize data, there is not currently a documented way to keep a figure from appearing. However, one of the benefits of MATLAB is that you can view and modify the code for many of the functions that come with it. I don't know if this will work for you, but one workaround would be to modify clustergram and comment out or remove the call to view that causes the figure to appear.

カテゴリ

Help Center および File ExchangeData Import and Management についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by