This is the pre-2018 NNT API still used in the official "Getting Started with Neural Networks Using MATLAB" tutorial; the dlnetwork / trainnet lane (T1–T3) is the project's answer for current-era nets ...