From: oana alexandra on 10 Jun 2010 11:38 Hi, Thanks for the input, it really helped me find the pieceof code that was not working. The command str2num('bench') has the same effect as Bench Also the command str2num('Flag') has the same effect as Flag O
From: Steven Lord on 10 Jun 2010 11:57 "oana alexandra " <oanada(a)yahoo.com> wrote in message news:hur0ss$gbk$1(a)fred.mathworks.com... > Hi, > > Thanks for the input, it really helped me find the pieceof code that was > not working. > The command str2num('bench') has the same effect as Bench > Also the command str2num('Flag') has the same effect as Flag That is the correct and expected behavior. See the Note on the reference page for STR2NUM. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/str2num.html -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
Pages: 1 Prev: Preallocating a dataset? Next: Discussion on overhead when calling java functions |