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

1 次查看(过去 30 天)
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"?

采纳的回答

Tianyu
Tianyu 2024-8-15
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 个)

类别

Help CenterFile Exchange 中查找有关 Linear Model Identification 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by