Multiple functions in one file

5 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

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!