How to close the signalAnalyzer app from the command line?

6 次查看(过去 30 天)
I am using the following syntax in the code that I am using
signalAnalyzer(signal1, signal2, 'SampleRate', fs, 'StartTime', 0)
When I restart (or rerun) the code, everytime I have to close the signalAnalyzer app. manually, otherwise this does not close by itself.
The code starts with the following syntax:
close all;clear;clc
I have already tried using
close all force
or
close('signalAnalyzer')
but nothing was successful.
Even in the document, nothing was written about closing the signalAnalyzer app.

采纳的回答

Devineni Aslesha
Devineni Aslesha 2020-1-14
As of now, closing the signal analyzer app from the command window is not supported for the available MATLAB releases. However, the concerned parties may be looking into it and might be added in the future.
  3 个评论
Wes Baldwin
Wes Baldwin 2020-6-8
I believe this is also an issue with the "Deep Learning Network Analyzer". I have not found a was to close this app from the command line.
Arman Ahmadian
Arman Ahmadian 2021-9-2
编辑:Arman Ahmadian 2021-9-2
Yes. Sadly, "Deep Learning Network Analyzer" cannot be closed from the command line wich makes using it difficult. The screen pops up with analyzer figures which cannot be closed except for manually closing them one by one.
How come all figures in matlab output a handle using which they can be closed but not these analyzers? This is a serious glitch.

请先登录,再进行评论。

更多回答(1 个)

cdarling
cdarling 2023-6-25
As I've tried between R2022b to R2023b, it is possible using command
signal.analyzer.Instance.close
to close the Signal Analyzer App.
Remember this is not a documented nor official supported feature, and may change at any time.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by