Multiple functions in one file

3 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?

Answers (1)

madhan ravi
madhan ravi on 13 Nov 2018
Edited: madhan ravi on 13 Nov 2018

Tags

Community Treasure Hunt

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

Start Hunting!