Effacer les filtres
Effacer les filtres

NEED HELP URGENTLY WITH COMPILE RUN ERROR

1 vue (au cours des 30 derniers jours)
Sheldon Nyce
Sheldon Nyce le 24 Oct 2019
Commenté : Sheldon Nyce le 28 Oct 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? TIAMATLAB HELP NEEDED.jpg
  6 commentaires
Adam
Adam le 24 Oct 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.
Sheldon Nyce
Sheldon Nyce le 24 Oct 2019
Noted, thanks for the input. Will approach differently in future.

Connectez-vous pour commenter.

Réponse acceptée

Steven Lord
Steven Lord le 24 Oct 2019
Modifié(e) : Steven Lord le 24 Oct 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');
  1 commentaire
Sheldon Nyce
Sheldon Nyce le 28 Oct 2019
Thank you very much for the help!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by