About 49,500 results
Open links in new tab
  1. Function Creation - MATLAB & Simulink - MathWorks

    Functions contain one or more sequential commands and can accept inputs and return outputs. When you have multiple lines of …

  2. Functions - MATLAB & Simulink - MathWorks

    As you write code, you can define your own functions to reuse a sequence of commands. For instance, create a function in a …

  3. function - Declare function name, inputs, and outputs - MATLAB

    Local functions can be added anywhere in scripts and live scripts except within conditional contexts, such as if statements or for …

  4. MATLAB - Functions - Online Tutorials Library

    A function is a group of statements that together perform a task. In MATLAB, functions are defined in separate files. The name of the …

  5. Functions in MATLAB - GeeksforGeeks

    Aug 16, 2021 · MATLAB functions must be defined in separate files and function name must match with the file name. Let's also see …

  6. Choose Command Syntax or Function Syntax - MATLAB & Simulink

    MATLAB ® has two ways of calling functions, called function syntax and command syntax. This page discusses the differences …

  7. How to create a function in MATLAB - GeeksforGeeks

    May 6, 2021 · A function is a block of statements that intend to perform a specific task. Functions allow the users to reuse the code …

  8. functions - Information about function handle - MATLAB

    The structure has additional fields depending on the type of function associated with the handle. For example, a local function has a …

  9. Local Functions - MATLAB & Simulink - MathWorks

    Local functions cannot access variables used by other functions unless you pass them as arguments. In contrast, nested functions …

  10. Writing and Using Functions - University of British Columbia

    We call a function we have written just like any other built-in matlab function. However, some functions can be executed as 'infix' …