About 596,000 results
Open links in new tab
  1. What Is an S-Function? - MATLAB & Simulink - MathWorks

    An S-function is a computer language description of a Simulink block written in MATLAB ®, C, C++, or Fortran ®. S-functions use a special calling syntax called the S-function API that …

  2. S-Function Examples - MATLAB & Simulink - MathWorks

    These examples show you how to work with a variety of S-functions or programs that use S-functions, including C/C++ S-functions, Fortran S-functions, S-function Builder, Level 2 …

  3. Create MATLAB S-Functions - MATLAB & Simulink - MathWorks

    MATLAB S-function API enables users to use MATLAB language to create custom blocks with the capability of handling multiple input and output ports as well as signals produced by a Simulink …

  4. MATLAB S-Function Basics - MATLAB & Simulink - MathWorks

    An S-function is a computer language description of a Simulink ® block written in MATLAB ®, C, C++, or Fortran ®. C, C++, and Fortran S-functions are compiled as MEX files using the mex …

  5. S-Function Concepts - MATLAB & Simulink - MathWorks

    By specifying that the S-Function block has dynamically sized inputs, the same S-function can accommodate both situations. The Simulink engine automatically calls the block with the …

  6. Implementing S-Functions - MATLAB & Simulink - MathWorks

    A Level-2 MATLAB S-function consists of a setup routine to configure the basic properties of the S-function, and a number of callback methods that the Simulink engine invokes at appropriate …

  7. Create C/C++ S-Functions - MATLAB & Simulink - MathWorks

    You can create C/C++ S-functions by writing an S-function from scratch, using the S-function builder, or using the Legacy Code Tool. Each of these approaches involves a tradeoff between …

  8. S-Functions and Code Generation - MATLAB & Simulink

    The application program interface (API) for writing S-functions allows you to implement generic algorithms in the Simulink environment with a great deal of flexibility. If you intend to use S …

  9. Build S-Functions Automatically Using S-Function Builder

    The S-Function Builder block uses wrapper methods to specify the S-function code and properties that generate the corresponding S-function. Use the appropriate wrapper methods to construct …

  10. C/C++ S-Function Basics - MATLAB & Simulink - MathWorks

    An S-function is a computer language description of a Simulink ® block written in MATLAB ®, C, C++, or Fortran ®. C, C++, and Fortran S-functions are compiled as MEX files using the mex …