Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

GUI TABLE HELP NEEDED

2 views (last 30 days)
Mohamed Abdelhameed
Mohamed Abdelhameed on 11 May 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I am working with Artificial Neural Networks. As it shown in the picture below, I need the user to enter these five inputs ( BP, FVF, API, GG, TEMP) so that when I hit the simulate button the result will be shown in the second table GOR. To cut long story short, I need to the first row of the first table to pass through my network and the results to be display in the second table.
Please help I need this urgently for my thesis project.
  3 Comments
Jan
Jan on 11 May 2017
Okay. What is your question? How can we help you? What have you tried so far and which problems occur?

Answers (1)

Walter Roberson
Walter Roberson on 11 May 2017
data = get(handles.NameOfYourUiTable, 'Data');
first_row = data(1,:);
  2 Comments
Mohamed Abdelhameed
Mohamed Abdelhameed on 11 May 2017
Edited: Walter Roberson on 11 May 2017
n=load('Rs\net.mat');
data=get(handles.table1,'Data');
first_row=data(1,:);
ANN=n.net(first_row);
get(handles.table2,'data',ANN);
This is what I did and still does not work
Undefined function 'data_Callback' for input arguments of type 'matlab.ui.control.UIControl'.
Walter Roberson
Walter Roberson on 11 May 2017
You appear to be using GUIDE.
You appear to have manually deleted some code instead of using the GUIDE facilities for removing portions of the code.
You have a corrupted combination of .fig and associated code. If you attach your .fig and the .m then I will attempt to track down the invalid property (I wrote a program for checking these kinds of problems.)

This question is closed.

Community Treasure Hunt

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

Start Hunting!