Problem building C++ code from a neural network Simulink model
显示 更早的评论
Hi, I have used nftool to create and train a neural network. I want to add its functionality in a C++ program so I needed to convert it somehow into C++ code. Nftool has the option of automatically exporting the simulink model of a trained neural network and I did so, in order to covert it to C++ code using Real-Time Workshop. Problem is that when I try to build it, I get the following "Model error":
".../Neural Network/Process Output 1/removeconstantrows_reverse/MATLAB Fcn", block type "MATLABFcn": Not yet supported by Real-Time Workshop"
When I click on the error, I am presented with a block diagram with a "Matlab Function" square highlighted. When I click the square, I see that a "flipud" function is used, which I suspect is the source of the problem.
Is there another way to extract the functionality of a neural network in C++ and if not, what should I do?
Thank you in advance.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!