Info

此问题已关闭。 请重新打开它进行编辑或回答。

Regarding GUI access and binary plot

1 次查看(过去 30 天)
Feihao Sun
Feihao Sun 2020-7-24
关闭: MATLAB Answer Bot 2021-8-20
Hi! I am quite new to Matlab and I am just wondering how to do the following things in GUI.
  1. I need some help with creating a textinput and push buttom where I type in a txt. file and press the push buttom to store it as a string in GUI for further use.
  2. i want have a push buttom that when pressed, it will create a binary plot for the graphing section. For example, a 30x30 binary plot that have random 1s and 0s across the graphing section.
I have
function Textinput_Callback(hObject, eventdata, handles) for the edit text file to type in the txt. document
function import_data_Callback(hObject, eventdata, handles) for push buttom and store the txt. into a string for further use
function Random_Callback(hObject, eventdata, handles)
to create a random binary matrix and show it graphically in the GUI.
I might be asking for a lot here, but I have tried to look a lot of places and I can't seem to find relevant information. Thank you for the help.
  1 个评论
Rik
Rik 2020-7-24
What is your question? You seem to already have the required callback functions. What is the problem you have trouble solving?

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by