Default value is not a member of type "nntype.performance_fcn"

4 次查看(过去 30 天)
Salve, sto riscontrando il problema nel titolo quando provo a creare una rete neurale (Neural net pattern recognition). Cosa posso fare? ho appena installato l'ultimo aggiornamento della versione 2023b ma l'errore continua.
Grazie anticipatamente

回答(1 个)

Vinayak
Vinayak 2024-1-17
Ciao Riccardo,
Non parlo italiano e affronterò la questione in inglese.
The error you’ve mentioned usually occurs when there are conflicting functions, often due to third-party packages that might have been installed. To identify the conflicting functions, run the following command in the command window:
which <function_name>
Also, you can use the -all flag to confirm that the toolbox is installed correctly:
which -all <function_name>
If you discover conflicting third-party functions, consider packaging them into a class. You may refer to the below example for creating a wrapper class for a function named “performance_fcn”:
classdef WrapperClass
methods (Static)
function out = performance_fcn(args)
% The existing code
end
end
end
Hope this helps!

Community Treasure Hunt

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

Start Hunting!