Create a GUI to serve as simple ANN to classify the 3 inputs to good or bad
조회 수: 4 (최근 30일)
이전 댓글 표시
I have train the neural network with nprtool. I have the identified the best neural network configuration. The GUI will allow the user to enter 3 inputs in numbers, and to classify the inputs into GOOD or BAD. Question & Help Needed: I have no concern to create the GUI layout but need help to create the coding (either callback or createFcn)
댓글 수: 7
Kevin Chng
2018년 10월 11일
Apologise that we can't do that in community, however, you may learn the started from here
채택된 답변
Kevin Chng
2018년 10월 10일
in your matlab command window,type
appdesigner
Design your GUI. Subsequently, click
button> button.properties (left hand side)> callback> create call back
In the call back function, get the text from box. Remember convert them to correct format for your code after that.
a= app.EditFieldLabel.Text;
b= app.EditFieldLabel.Text;
c= app.EditFieldLabel.Text;
then run your code, display your result in the label component
app.Label.Text = 'good';
How to change colour of Lamp?
if a>=0 || b>=0 || c>=0
app.Lamp.Color = [1 0 0];
end
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!