selstruc(): How to avoid hitting "Return" in command window?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Alexander Fenichiu
le 14 Août 2024
Réponse apportée : Tianyu
le 15 Août 2024
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"?

0 commentaires
Réponse acceptée
Tianyu
le 15 Août 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
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Model Identification dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!