Presentation is loading. Please wait.

Presentation is loading. Please wait.

Redundant code repositories

Similar presentations


Presentation on theme: "Redundant code repositories"— Presentation transcript:

1 Redundant code repositories
MATLAB Functions Redundant code repositories

2 Function Creation Guidelines
First line must have this form: function [output_variables] = function_name(input_variables) The name of the function must match the file name To run a function, call it from MATLAB’s Command window (remember to pass input variables) Do not run clear after the function statement (it will clear the input variables)

3 Proper Code Commenting
Add a description of the function immediately beneath the function [output_variables] = function_name(input_variables) statement Explicitly describe each input and output Throughout the code, explain what non-obvious lines are doing


Download ppt "Redundant code repositories"

Similar presentations


Ads by Google