オブジェクトをソートして取得(MatLab GUI)
Show older comments
MatLab GUIでツールを作っており、matlab 2018aを使用しています。 入力項目を20個用意し、各々のオブジェクトにはTag名を edit_text1~edit_text20 まで割り当てています。 プログラムで panels = sort(findobj(form, '-regexp', 'Tag', 'edit_text')); とすることでedit_text1~edit_text20をTag名の昇順に取得しようとしました。 しかし、取得結果を見ると順番がバラバラで昇順にソートされていませんでした。matlab 2013bはうまくいっていたような気がしたのですが matlab 2018aではどのように昇順に取得すればよいでしょうか。
Accepted Answer
More Answers (0)
Categories
Find more on アプリの作成 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!