assigning cell data into edit in gui.

6 ビュー (過去 30 日間)
sermet
sermet 2013 年 7 月 18 日
rotation_x=degrees2dms(-2.367444444*10^-4)
rotation_x_char= sprintf('%2.0fd%2.0fm%7.5fs%s\n', rotation_x(:))
rotation_x_cell=cellstr(rotation_x_char)
rotation_x_cell =
'-0d-0m-0.85228s'
%I want to assign this cell data into edit which its tag "edit1".
%could you give me the codes I need?
%thanks in advance

採用された回答

Andrew Reibold
Andrew Reibold 2013 年 7 月 22 日
set(handles.edit1, 'String', rotation_x_cell)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by