Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block name

Status
Not open for further replies.

wolf82

Automotive
Jun 20, 2006
2
I'm using the command

add_block('simulink/Sinks/Out1','sys/pippo/output_name');

to insert a the sink Out1 in the object pippo in the model sys. The name of Out1 in pippo is output_name.

I have a char variable that contains the name of the Out1 I want to insert in pippo. Does exist a command to insert an object (like Out1) in pippo, assigning to the object the name contained in a char variable?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor