您的位置:首页 > 编程语言 > MATLAB

Define the input/output port name for the Inlined C++ S-function block in Matlab Simulink

2010-09-02 00:20 531 查看
DO IT by the Mask
option of the context menu of the block by right-click mouse button.

and input the text like

disp('Metropolis Hastings/n(MH) sampling');

port_label('output',1,'smpls')

port_label('input',1,'mu1')

port_label('input',2,'sigma1')

port_label('input',3,'mu2')

port_label('input',4,'sigma2')

port_label('input',5,'Coef')

which will change the name of the ports and the block respectively.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐