I have generated a network with matlab. I can see the result of this network for my inputs in matlab via this command: sim(net, 0.01)
I want to do this work in c++ with the "net" generated by matlab. how can I do this?
I have generated a network with matlab. I can see the result of this network for my inputs in matlab via this command: sim(net, 0.01) I want to do this work in c++ with the "net" generated by matlab. how can I do this? |
|||||||||
|
ITNOA if you can generate a Simulink model of the network then you can export your network to c language ( like http://compgroups.net/comp.soft-sys.matlab/exporting-neural-network-to-c++/408091 ), it's simple. but i do not think this method will be good to use neural network for other programs, to me the better solution is to use of neural network formula ( like this try to simulate neural network in Matlab by myself ) and use of weights of network that exports from trained network in Matlab be used in yourself program because it's easy and clean. |
||||
|