- In the app, click "Generate Code" in the export section of toolstrip.

- This opens a MATLAB script with all the network creation and training steps.
- In that script, add below code to set "goal" before training the network.

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