About 393,000 results
Open links in new tab
  1. Calling Functions - MATLAB & Simulink - MathWorks

    MATLAB® provides a large number of functions that perform computational tasks. Functions are equivalent to subroutines or methods in other programming languages. To call a function, such …

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

    function [y1,...,yN] = myfun(x1,...,xM) declares a function named myfun that accepts inputs x1,...,xM and returns outputs y1,...,yN. This declaration statement must be the first executable …

  3. How do I call a function within another function? - MATLAB …

    Jan 21, 2019 · Because the main function in example440767 can "see" the local function localFunction inside its file, it can create a function handle that can be used to call that function …

  4. at symbol - Create anonymous functions and function handles, call ...

    The at symbol (@) creates handles to anonymous and named functions, and is also used to call superclass methods from within a subclass. For instance, f = @(x,y) x+y creates an …

  5. Calling a function in MATLAB - MATLAB Answers - MATLAB …

    Feb 23, 2015 · Your two functions are in two different Mfiles. If these are functions you should ensure that the function and Mfile names are the same. Then you can simply call one function …

  6. Call MATLAB Functions from Python - MATLAB & Simulink

    You can call any MATLAB function directly and return the results to Python. For example, to determine if a number is prime, use the engine to call the isprime function. import …

  7. How do I call a function from the command window

    Feb 9, 2024 · Add a line that defines a function handle to the function and stores that function handle in a variable. If that function handle is created inside the script file, you will be able to …

  8. Call MATLAB Functions from C++ - MATLAB & Simulink

    Call Function with Name-Value Arguments. Some MATLAB functions accept optional name-value arguments. The names are character arrays and the values can be any type of value.

  9. How to call MATLAB functions from the Linux command line?

    Apr 11, 2013 · You can run an arbitrary function from the commandline by passing a command to Matlab, like this: matlab -nodisplay -r "funcname arg1 arg2 arg3 argN"

  10. Using Function-Call Subsystems - MATLAB & Simulink

    Using Function-Call Subsystems. A Function-Call Subsystem block is a conditionally executed subsystem that runs each time the control port receives a function-call event. A Stateflow ® …

Refresh