Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Regarding GUI access and binary plot

1 visualizzazione (ultimi 30 giorni)
Feihao Sun
Feihao Sun il 24 Lug 2020
Chiuso: MATLAB Answer Bot il 20 Ago 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 Commento
Rik
Rik il 24 Lug 2020
What is your question? You seem to already have the required callback functions. What is the problem you have trouble solving?

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by