How do we assign a slider to a static text on a gui?

1 回表示 (過去 30 日間)
matlabnewby
matlabnewby 2016 年 11 月 5 日
Hello,
I a total beginner on matlab and have not been able to find te solution on youtube. This is quite simple. I have a gui on which i import a text file that displays on the screen. I would like to use a slider so i could scroll up and down my imported text file.
%function pushbutton1_Callback(hObject, eventdata, handles)
text = fileread('Matlab_Project_Presentation_GUI.txt')
set(handles.text3,'String',text)
%Text 3 and a static text box on my gui
Thank you in advance to answer my question!

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 11 月 5 日
  1 件のコメント
Bachtiar Muhammad Lubis
Bachtiar Muhammad Lubis 2019 年 2 月 9 日
@ Walter Roberson: it is no longer available walter

サインインしてコメントする。

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by