Custom function for a ANN
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!