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.
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.
相关文章推荐
- matlab 出现Undefined function 'functionname' for input arguments of type 'logical'问题的解决办法
- How to separate the implementation and definition for template function in c++
- JS:Trim() in javascript, how to define a function of checkinput for a WebControl(ascx)
- (NOT CLEAR)Question 44: What member function of std::fstream could a C++ developer invoke in order to change the target output f
- Programming Basic--why we need to add ' extern "C" ' in C++ program when calling the function which is complied by C complier?
- JNI: Passing multiple parameters in the function signature for GetMethodID
- Execution error: \'the function name is not a recognized built-in function name\'
- checking for C++ compiler default output file name... configure: error: C++
- Have you considered making your output() function use variable arguments like printf()? In the examp
- checking for C++ compiler default output file name
- 191 You observed the following output for a user session: SQL > SELECT sid, event, seconds _in _wait
- sql: Query to Display Foreign Key Relationships and Name of the Constraint for Each Table in Database
- matlab12A版本中MATLAB在运行的时候出现??? Undefined function or method 'uiopen' for input arguments of type 'cha
- Matlab 出现Undefined function '' for input arguments of type 'double'.解决方案
- C++: How is the process of function calling in C++
- A duplicate insert block exists for class "XXX" in the source files (X:\XXX.h, X:\XXX.cpp).
- Platform Road Map for the MATLAB and Simulink Product Families
- The Relationships Between Classes in Symbian OS C++ for Mobile Phones Volume 3
- Use the edge function in matlab
- [Drupal] About the rule of function name in Drupal