Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: concatenate string and string matrix
Replies: 8   Last Post: Jul 30, 2014 3:52 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 8
Registered: 4/6/10
concatenate string and string matrix
Posted: Jul 29, 2014 7:34 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Does anyone encounter this problem? I simply cannot figure out how to do it.
I have one string matrix.


I want to combine string '@(x)' with string matrix A to form the string.


then I can use str2func(B) to generate C=@(x)['aa';'bb'].

Does anyone know how to do it? I already try strcat or vertcat or horzcat. It doesn't work. The previous example is my simplified matrix. My real string matrix is pretty large.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.