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: using "eval" with strings from a cell array
Replies: 4   Last Post: Jul 22, 2013 1:14 PM

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]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.