The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: using "eval" with strings from a cell array
Replies: 6   Last Post: Nov 29, 2016 11:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Michael Ršoesch

Posts: 9
Registered: 1/31/08
using "eval" with strings from a cell array
Posted: Jan 31, 2008 8:31 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


with uigetfile and the MultiSelect option I read several filenames into
a cell array.

But I'm not able to access these filenames with the eval function to
alter them before saving again.

These code:

eval('string' cell_array(1))

returns these error:

Undefined function or method 'eval' for input arguments of type 'cell'

Any ideas how to change a single cell to a ordinary string?

Thanks, Michael

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.