How to close the signalAnalyzer app from the command line?

조회 수: 7 (최근 30일)
Creatlee
Creatlee 2020년 1월 9일
답변: cdarling 2023년 6월 25일
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