필터 지우기
필터 지우기

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