How can I deploy matlab-generated neural network function? error using mapminmax_apply

1 view (last 30 days)
We're using the genFunction to output the neural network classifier. We're trying to deploy the classifier on new input data - which has the same format (4 columns, many rows) as the original input data. Running the myNeuralNetworkFunction(NewData) gives the following error:
Undefined function 'mapminmax_apply' for input arguments of type 'double'.
Error in myNeuralNetworkFunctionv2 (line 35) xp1 = mapminmax_apply(x1,x1_step1_gain,x1_step1_xoffset,x1_step1_ymin);
Error in TestNeuralNetwork (line 15) a=myNeuralNetworkFunctionv2(NewData);
mapminmax_apply (generated by matlab) seems not to exist. We changed it to mapminmax.apply and got the following error message:
Error using apply Too many input arguments.
Error in myNeuralNetworkFunctionv2 (line 35) xp1 = mapminmax.apply(x1,x1_step1_gain,x1_step1_xoffset,x1_step1_ymin);
Error in TestNeuralNetwork (line 15) a=myNeuralNetworkFunctionv2(NewData);
Any help would be greatly appreciated

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!