Tech Fixx · Video

MATLAB Functions Tutorial: Inputs, Outputs & Reusable Code | Lesson 11

Watch this 1 min 43 sec video from the Tech Fixx channel, published .

Check that the device, software and version shown match your setup. Use the player controls for captions, playback speed and full screen where available.

Loading the player connects to YouTube. If playback is unavailable here, watch on YouTube ↗.

From the video description

Original channel description, recorded . Product, software and service references in it may have changed since publication.

Learn how to define and call your own MATLAB functions with input and output arguments. This beginner-friendly MATLAB Lesson 11 explains the difference between scripts and functions, correct file naming, reusable code and common mistakes.

In this MATLAB functions tutorial: • Understand scripts versus functions • Write a function declaration • Add one or more input arguments • Return output values • Save functions with the correct file name • Call functions from a script or Command Window • Diagnose common scope and naming errors

Official MathWorks documentation: https://www.mathworks.com/help/matlab/ref/function.html https://www.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html

Continue the full MATLAB for Beginners course on Tech-Fix and subscribe for more step-by-step programming lessons.

#MATLAB #MATLABFunctions #ProgrammingTutorial

Keep DEX close · You can change the page language here

Language
Household calendarYour For You findsWatch a priceAdd to Home Screen

Choose your deal alerts

Get selected updates about offers you save. You choose whether to enable notifications on this device.

Email deals