Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Jun 20, 2006
Messages
2
Location
IT
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

Back
Top