What's the name of this block in Simulink?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I am reading a tech document, I met this block, but I don't know the name of this block (I cannot search the function of this block).
Does anybody can give me any info about the name or the function of this block?
thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146070/image.png)
0 个评论
采纳的回答
Orion
2014-11-11
Hi,
quick question : Do you have Simulink ?
If not, and if you don't know the blocks, you're gonna struggle with your tech document.
For your specific block, it looks like a switch block which passes a signal if a boolean condition is true, and another signal if false.
Note that I said _ it looks like _.
It's not exactly the same. I don't know your block (I use simulink for years), and I don't think it belongs to a native library of simulink.
Maybe (probably ?) , it comes from a user libray, one of your company, or one of a client, in which case you need to ask the corresponding documentation to the people who did it.
Note : In a personnal library, you can "redraw" the appearance of a block. so your block can be just a switch redesigned.
3 个评论
Orion
2014-11-11
If you have the model available, use get_param to find information on this block.
if you're not familiar with it :
select the block with the mouse, then in the command window of matlab,
get_param(gcb,'Blocktype')
get_param(gcb,'BlockDescription')
...
Note : I asked about having Simulink, because I already met some people working with on a technical documentation of models and not having Simulink (that was driving them crazy).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!