Multiple functions in one file

11 views (last 30 days)
Harel Harel Shattenstein
Harel Harel Shattenstein on 13 Nov 2018
Edited: madhan ravi on 13 Nov 2018
When writing a function with few subfunctions, should would write function [output]=subfunction1 (input) under the main function delcleration? is it a good coding parctice?

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by