Call existent gui as a new project

조회 수: 1 (최근 30일)
Fayez Ferdos
Fayez Ferdos 2019년 6월 20일
댓글: Fayez Ferdospanah 2019년 6월 28일
I've created a gui program named msp. This program contains several edittexts. I now want to create a pushbutton that invokes msp every time it's clicked, and adds numbers to the edittext and saves it with a special name. I want to do this operation every time I click and save each time with a special name.Is there a possibility in gui that I can use it and store it with a gui call?
  댓글 수: 5
Fayez Ferdospanah
Fayez Ferdospanah 2019년 6월 28일
Yes, exactly ... 107 edittexts that are stored by pressing a push button. I'm trying to save the whole window as a .fig file. Of course, if you have a suggestion, tell me about the type to save.
Shameer Parmar
Shameer Parmar 2019년 6월 28일
Ok here I will try to help you by creating gui with 107 edittext + push button, but once we will press the push button the entered data will be saved in excel file (filename will be the same as entered by user).. you can then modify it to save the data to fig file or image file.. let me try this first..

댓글을 달려면 로그인하십시오.

답변 (1개)

Shameer Parmar
Shameer Parmar 2019년 6월 28일
Hello Fayez,
Here I have created Test GUI for you..
run attached 'TestingTool.m' file.. it will open gui...
You can enter the fileName and all 107 values.. then click on push button.. it will save the entered data into excel file and will open it..
If you change the data, then you need to change the filename as well to save the new data into new filename.. and so on..
I hope this will help you..
  댓글 수: 1
Fayez Ferdospanah
Fayez Ferdospanah 2019년 6월 28일
Thanks ... it works well and solves many of my problems.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Word games에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by