NEED HELP URGENTLY WITH COMPILE RUN ERROR
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sheldon Nyce
am 24 Okt. 2019
Kommentiert: Sheldon Nyce
am 28 Okt. 2019
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![MATLAB HELP NEEDED.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/244839/MATLAB%20HELP%20NEEDED.jpeg)
![MATLAB HELP NEEDED.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/244839/MATLAB%20HELP%20NEEDED.jpeg)
6 Kommentare
Adam
am 24 Okt. 2019
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.
Akzeptierte Antwort
Steven Lord
am 24 Okt. 2019
Bearbeitet: Steven Lord
am 24 Okt. 2019
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');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!