MATLAB Answers

Custom function for a ANN

2 views (last 30 days)
NeuralDip
NeuralDip on 12 Nov 2013
Hello,
i seem to have trouble assigning my custom function to the "divideFcn" of a network.
My function is part of a class and is defined as a static method.
i try to assign it like this:
obj.Net.divideFcn = 'Odds_Data.Divide';
but i get the error:
"divideFcn" cannot be set to non-existing function "Odds_Data.Divide".
Is there any limitation on using methods of classes as custom functions?
thank you

Answers (0)

Community Treasure Hunt

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

Start Hunting!