Multiple functions in one file

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?

Categories

Find more on Automotive in Help Center and File Exchange

Tags

Edited:

on 13 Nov 2018

Community Treasure Hunt

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

Start Hunting!