create Simulink custom block

1 visualización (últimos 30 días)
ugur arslan
ugur arslan el 24 de Oct. de 2019
Comentada: prithviraj naik el 30 de Mayo de 2024
Can we create a block thats not exist at library? like aerospace wing block?

Respuesta aceptada

Jim Riggs
Jim Riggs el 24 de Oct. de 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.
  1 comentario
prithviraj naik
prithviraj naik el 30 de Mayo de 2024
What do we use for Simscape Block?

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by