new simulink block

How can I create a new simulink block??
For example....how was the path loss block created??
Alton

댓글 수: 2

Arnaud Miege
Arnaud Miege 2011년 5월 9일
Can you elaborate on your question? Which path loss block? In which model?
Fangjun Jiang
Fangjun Jiang 2011년 5월 9일
what is or what do you mean a "path loss block"?

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2011년 5월 9일

1 개 추천

There are several ways to create a custom block in Simulink. The most common ones being:
  1. Implement the block algorithms using Simulink library blocks, wrap them inside a subsystem and mask it.
  2. Create an S-Function and mask it.
  3. Implement the algorithm using an (Embedded) MATLAB Function block
Here is a comparison of the several techniques that can be used: Comparison of Custom Block Functionality.
You can right click on most blocks and select "Look Under Mask" to examine how the block is implemented. (Note: Some native Simulink blocks do not have this option - in which case all implementation details are hidden)

이 질문은 마감되었습니다.

태그

질문:

2011년 5월 9일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by