Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Petroleum Table GUI ANN

3 vues (au cours des 30 derniers jours)
Mohamed Abdelhameed
Mohamed Abdelhameed le 12 Mai 2017
Clôturé : MATLAB Answer Bot le 20 Août 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."

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by