NEED HELP URGENTLY WITH COMPILE RUN ERROR
1 次查看(过去 30 天)
显示 更早的评论
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? TIA
6 个评论
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.
采纳的回答
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 Center 和 File 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!