Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

MATLAB AND SIMULINK. MATLAB Function Block

Posted By: AlenMiler
MATLAB AND SIMULINK. MATLAB Function Block

MATLAB AND SIMULINK. MATLAB Function Block by P. Braselton
English | 9 Oct. 2016 | ISBN: 1539392198 | 145 Pages | AZW3/MOBI/EPUB/PDF | 6.66 MB

The MATLAB Function block allows you to add MATLAB functions to Simulink models for deployment to desktop and embedded processors. This capability is useful for coding algorithms that are better stated in the textual language of the MATLAB software than in the graphical language of the Simulink product. From the MATLAB Function block, you can generate readable, efficient, and compact C/C++ code for deployment to desktop and embedded applications. MATLAB Function blocks support a subset of MATLAB toolbox functions that generate efficient C/C++ code. With this support, you can use Simulink.
Coder to generate embeddable C code from MATLAB Function blocks that implement a variety of sophisticated mathematical applications. In this way, you can build executables that harness MATLAB functionality, but run outside the MATLAB environment. By default, both the size and type of input and output signals to a MATLAB Function block are inherited from Simulink signals. You can also choose to specify the size and type of inputs and outputs explicitly in the Ports and Data Manager or in the Model Explorer.