Clear Filters
Clear Filters

NN (pushbotton, text, edit)

1 view (last 30 days)
Daniel Savu
Daniel Savu on 19 Jun 2020
Answered: Daniel Savu on 22 Jun 2020
I have a neural network with 5 inputs and one output. I want to have an interface in which to enter certain values based on that network and display my result. The idea is that I don't know how to access all 5 of my pushbutton entries. I have the following code but it has only one entry.
load network.mat;
input_value = str2double(get(handles.edit1, 'String'));
output_value = sim(test_net, input_value)
set(handles.text2, 'String', num2str(output_value))

Answers (1)

Daniel Savu
Daniel Savu on 22 Jun 2020
Hello! Can you help meplease! I have the following code phrase for neural network. I want to make my matlab interface read 5 inputs of the neural network. How can I do this? Thank you in advance
load retea.mat;
input_value = str2double(get(handles.edit1, 'String'));
output_value = sim(test_net, input_value)
set(handles.text2, 'String', num2str(output_value))

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!