Define the input/output port name for the Inlined C++ S-function block in Matlab Simulink
DOITbytheMaskoptionofthecontextmenuoftheblockbyright-clickmousebutton.andinputthetextlike disp('MetropolisHastings/n(MH)sampling');port_label('output',1,'smpls')port_label('input',1,'mu1')port_label('