deploying sim function

I believe neural network sim function is supported in deployment, but when I tried to deploy a function which uses a pre-trained network, it failed.
Here's what I have done:
1. Train a network 'net' and save it in 'testnet.mat'.
2. The code of 'test.m':
%#function network
load testnet.mat;
net = network(net);
p = sim(net,[1]);
And I keep getting error message like:
No appropriate method, property, or field delays for class nnetWeight. MATLAB:noSuchMethodOrField
Please tell me what's wrong with my code or deployment.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

提问:

2011-8-17

Community Treasure Hunt

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

Start Hunting!

Translated by