Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Petroleum Table GUI ANN

1 Ansicht (letzte 30 Tage)
Mohamed Abdelhameed
Mohamed Abdelhameed am 12 Mai 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi, I made two tables using the GUI. As shown in the figure, I need the user to fill in the columns of the first table (on the left), and the results to be shown in the other table(on the right). So what i need exactly is to enable the user to fill the whole table. Then, the simulate button will pass through neural network ,and the result will be displayed in the other table. What I have tried under the simulate push button
n=load('Rs\net.mat'); %to call the neural network
data = get(handles.table1, 'Data');
first_row = data(1,:); % trying to apply it first on the first row only
input=([first_row]'); % transposing the first row because the neural network takes columns not rows
ANN=sim(n.net,input); % simulate the network on the file input which is the first row
set(handles.table2,'data',ANN); % trying to make the asnwer appears in the second table cell (1,1)
This error appears when I press simulate "Inputs{1,1} is not numeric or logical."

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by