How to make MATLAB use a gui program 1000 times and thin export some specific results into tables

2 views (last 30 days)
Hi I want MATLAB to use a gui program 1000 times and assume the reqiured data and thin export the values of some outputs to tables

Answers (1)

Vimal Rathod
Vimal Rathod on 22 Feb 2021
I don't understand your usecase properly but you could always run a gui program 1000 times and get the input and store it in a variable, which you could convert into table with data.
You could use 'DeleteFcn' callback to get the data from the gui when the instance is deleted and you could start another instance in the deleteFcn callback code itself.
But I would recommend you to use one gui program and take 1000 different inputs instead by refreshing the data.
Refer to the following link to know more about figure callbacks
  1 Comment
Mohammed Abdul-Wahab
Mohammed Abdul-Wahab on 22 Feb 2021
I hqve a matlab gui program that calculate the concrete mix ingredients(cement, water, sand, gravel) , I needs the output values for 1000 different designs in a tables so that I can copy them and then paste them in Excel, so my question is how can I right a code that do this task

Sign in to comment.


Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!