How to close the signalAnalyzer app from the command line?
Show older comments
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.
Accepted Answer
More Answers (1)
cdarling
on 25 Jun 2023
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.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!