Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Regarding GUI access and binary plot

1 Ansicht (letzte 30 Tage)
Feihao Sun
Feihao Sun am 24 Jul. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Rik
Rik am 24 Jul. 2020
What is your question? You seem to already have the required callback functions. What is the problem you have trouble solving?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by