matlab msgbox text文本內容居中和字體大小的方法

h=msgbox('text'); % 修改字體 ah = get( h, 'CurrentAxes' ); ch = get( ah, 'Children' ); set( ch, 'FontSize', 12 ); % 文本居中 th = findall(0, 'Tag','MessageBox' ); boxPosition = get(h,'position'); textPosition
相關文章
相關標籤/搜索