필터 지우기
필터 지우기

NEED HELP URGENTLY WITH COMPILE RUN ERROR

조회 수: 1 (최근 30일)
Sheldon Nyce
Sheldon Nyce 2019년 10월 24일
댓글: Sheldon Nyce 2019년 10월 28일
Hi guys.
Why does this code not want to generate the function? The neural net runs perfectly, but I need to generate a MatrixOnly function for the C coder, and it wont compile? Any ideas? TIAMATLAB HELP NEEDED.jpg
  댓글 수: 6
Adam
Adam 2019년 10월 24일
All questions are urgent to the people asking them. People answering them will often ignore those who use capital letters and words like 'urgent' though. So if you want a fast answer you would do far better not to use them.
Sheldon Nyce
Sheldon Nyce 2019년 10월 24일
Noted, thanks for the input. Will approach differently in future.

댓글을 달려면 로그인하십시오.

채택된 답변

Steven Lord
Steven Lord 2019년 10월 24일
편집: Steven Lord 2019년 10월 24일
Looking at your genFunction call:
genFunction(net,'C:\Users\27714\Desktop\Neural Network training\myNetwork.m', ...
'MatrixOnly');
the help text lists the following syntax:
genFunction(...,'MatrixOnly','yes')
Try adding in the 'yes' at the end of the call.
genFunction(net,'C:\Users\27714\Desktop\Neural Network training\myNetwork.m', ...
'MatrixOnly', 'yes');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by