close
標題:

matlab問題

發問:

預先建構: 在gui上有一個botton按鍵 和 以個edit text 而另外有一個叫過test.m檔 檔案內有個 m=3 的值 問題: 我想按了botton鍵之後執行test.m檔 然後將m=3的值 在edit text中顯示 希望各望大大可以幫我解答 (...想不出來)

最佳解答:

隨便做做 建立元件程式碼: h_button=uicontrol('position',[50 30 470 50],'callback','test'); h_edit=uicontrol('style','edit','position',[100 150 370 200]); ------------------------------------------------------------------------------------------- 反應指令程式碼(test.m) m=3; A='m=3'; set(h_edit,'string',A,'FontSize',20)

 

此文章來自奇摩知識+如有不便請留言告知

其他解答:5FAD1C75A5AA61DA
arrow
arrow

    wszspj2 發表在 痞客邦 留言(0) 人氣()