Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Regarding GUI access and binary plot

1 vue (au cours des 30 derniers jours)
Feihao Sun
Feihao Sun le 24 Juil 2020
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaire
Rik
Rik le 24 Juil 2020
What is your question? You seem to already have the required callback functions. What is the problem you have trouble solving?

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by