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"?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!