Prev: function
Next: Test if vectors are the same size
From: us on 19 Jul 2010 11:38 "Abhishek " <abhi14jan(a)yahoo.com> wrote in message <i21q0d$5sg$1(a)fred.mathworks.com>... > hi > i am extracting text from file which contains > vout=x; > vin=z; > eq1=A*p+B*u; > > using > c=textscan(fid,'%s','delimiter','=') > which gives output as > 'vout' > 'x;' > 'vin' > 'z;' > 'eq1' > 'A*p+B*u;' > please help me to get rid of (') one of the solutions was shown to you in an earlier thread(!)... get your act together and (finally) tell CSSM WHAT it is that you WANT to do with this information(!)... just re-posting the same story oven and over, again, does not help... us
From: Steven_Lord on 19 Jul 2010 12:48 "Abhishek " <abhi14jan(a)yahoo.com> wrote in message news:i21rd4$6d6$1(a)fred.mathworks.com... > "Steven_Lord" <slord(a)mathworks.com> wrote in message > <i21qi2$bbv$1(a)fred.mathworks.com>... *snip* >> c{1} *snip* >>thanks steve >>one more help > >>i have > > cs= > 'Vout' > 'x;' > 'Vin' > 'z;' > 'eq1' > 'A*p+B*u;' > on writing c(6) i get > 'A*p+B*u;' > how to go inside c(6) Reread what I posted VERY carefully. Did I use parentheses in what I posted or did I use something else? You might also want to search the documentation for "cell array" for more information on working with variables of that type. -- 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
From: Jan Simon on 19 Jul 2010 15:58
Dear Abhishek, > > on writing c(6) i get > > 'A*p+B*u;' > > how to go inside c(6) > > Reread what I posted VERY carefully. Did I use parentheses in what I posted > or did I use something else? Perhaps you've chosen a too tiny font in your newsreader. Can you see the difference between "(" and "{" ? Jan |