NN (pushbotton, text, edit)
显示 更早的评论
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))
回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!