create Simulink custom block

1 Ansicht (letzte 30 Tage)
ugur arslan
ugur arslan am 24 Okt. 2019
Kommentiert: prithviraj naik am 30 Mai 2024
Can we create a block thats not exist at library? like aerospace wing block?

Akzeptierte Antwort

Jim Riggs
Jim Riggs am 24 Okt. 2019
You can create almost anything you like. See the "user defined functions" tab in the library browser.
You can use a "MATLAB function" or "Matlab subsystem" block to embed Matlab code in a Simulink block.
You can use an "S-function" block to embed C/C++ code in a simulink block.
And a "Subsystem block" can contain any number of other Simulink blocks, including Matlab function blocks and S-functions.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by