selstruc(): How to avoid hitting "Return" in command window?

9 visualizzazioni (ultimi 30 giorni)
I'm building a little App (.mlapp) for System Identification based on this example: https://www.mathworks.com/help/ident/gs/identify-linear-models-using-the-command-line.html
I'm using selstruc(arxstruc(...)) to estimate model parameter but after selection, it's not sufficient to close with the "Close" button, but I have to switch to main Matlab command window and hit return, as mentioned in the dialog.
Is there any way to avoid this and continue directly after pressing "Close"?

Risposta accettata

Tianyu
Tianyu il 15 Ago 2024
Hi Alexander,
I don't think there is a way to avoid that, this is the current APP behavior.
The only thing I can think of is to avoid using GUI and rely on command line to select order automatically.
% V is output from arxstruc or ivstruc
order = selstruc(V,c); % c is a number
order = selstruc(V,'aic');
order = selstruc(V,'mdl');
More details in doc
https://www.mathworks.com/help/ident/ref/selstruc.html?searchHighlight=selstruc&s_tid=srchtitle_support_results_1_selstruc

Più risposte (0)

Categorie

Scopri di più su Linear Model Identification in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by