new simulink block
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
How can I create a new simulink block??
For example....how was the path loss block created??
Alton
2 个评论
Arnaud Miege
2011-5-9
Can you elaborate on your question? Which path loss block? In which model?
Fangjun Jiang
2011-5-9
what is or what do you mean a "path loss block"?
回答(1 个)
Kaustubha Govind
2011-5-9
1 个投票
There are several ways to create a custom block in Simulink. The most common ones being:
- Implement the block algorithms using Simulink library blocks, wrap them inside a subsystem and mask it.
- Create an S-Function and mask it.
- 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)
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!