Undefined function or command newff

13 views (last 30 days)
Yunzi on 6 Jan 2023
Edited: Rik on 6 Jan 2023
I can't find any doc about function newff(). It doesn't give me any tips when I typed "newff" in the live script. And it just tell me what I typed is an undefined function.So confusious!!! I knew it exist but I just can't find it.

Answers (1)

Rik on 6 Jan 2023
Edited: Rik on 6 Jan 2023
The newff function did indeed exist (in the Neural Network Toolbox).
According to this answer it became obsolete in 2010, although it remained available for some time after that. This is typical for Matlab: most obsolete functions will stay usable for several years to give people time to implement the replacement.
I can't find any mention in the release notes about this function. The online release notes go back 5 years, so it was removed prior to R2017b.
It appears to still exist in the nnet Octave package, but you should find the replacement function, which seems to be feedforwardnet.




Community Treasure Hunt

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

Start Hunting!