From: Sofia Häggberg on 26 Jul 2010 10:42 Let us assume that I entered this command: m = [’J’,’o’,’h’,’n’] Immediately after it I am getting into the so called "Continue Entering Statement" mode. How can I exit this mode and continue to enter correct commands, such as: M =[12;34;56] Thanks!
From: Andy on 26 Jul 2010 10:54 "Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i2k6rs$951$1(a)fred.mathworks.com>... > Let us assume that I entered this command: > > m = [’J’,’o’,’h’,’n’] > > Immediately after it I am getting into the so called "Continue Entering Statement" mode. > > How can I exit this mode and continue to enter correct commands, such as: > M =[12;34;56] > > Thanks! What is the "Continue Entering Statement" mode? Did you type "..." somewhere that you're not showing us? When I type m = ['J','o','h','n'] and hit enter, MATLAB correctly displays m = John
From: us on 26 Jul 2010 10:55 "Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i2k6rs$951$1(a)fred.mathworks.com>... > Let us assume that I entered this command: > > m = [’J’,’o’,’h’,’n’] > > Immediately after it I am getting into the so called "Continue Entering Statement" mode. > > How can I exit this mode and continue to enter correct commands, such as: > M =[12;34;56] > > Thanks! do you use the correct apostrophes(?)... m = ['J','o','h','n'] n=[12;34;56] us
From: Sofia Häggberg on 26 Jul 2010 11:32 "Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i2k6rs$951$1(a)fred.mathworks.com>... > Let us assume that I entered this command: > > m = [’J’,’o’,’h’,’n’] > > Immediately after it I am getting into the so called "Continue Entering Statement" mode. > > How can I exit this mode and continue to enter correct commands, such as: > M =[12;34;56] > > Thanks! @Andy & @us Both of you are right in some way! I havent use the apostrophes that you used @Andy! And that generated problems :( I have use this apostrophe ’ instead of ' and that lead me to the so called Continue Entering Statement... and what is this? http://img192.imageshack.us/img192/4103/screen1c.jpg If you left-down where is the start button you will see that text! And I am curious to know more about this... could someone explain it to me? To posts about the same problem (which I am not able to understand so much): http://www.mathworks.com/matlabcentral/newsreader/view_thread/252795 http://www.mathworks.de/matlabcentral/newsreader/view_thread/138903 But may help you to explain it to me! Thanks!
From: us on 26 Jul 2010 11:45 "Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i2k9pk$llp$1(a)fred.mathworks.com>... > "Sofia Häggberg" <hd.int.assNOSPAM(a)gmail.com> wrote in message <i2k6rs$951$1(a)fred.mathworks.com>... > > Let us assume that I entered this command: > > > > m = [’J’,’o’,’h’,’n’] > > > > Immediately after it I am getting into the so called "Continue Entering Statement" mode. > > > > How can I exit this mode and continue to enter correct commands, such as: > > M =[12;34;56] > > > > Thanks! > > @Andy & @us > > Both of you are right in some way! > > I havent use the apostrophes that you used @Andy! And that generated problems :( > > I have use this apostrophe ’ instead of ' and that lead me to the so called Continue Entering Statement... and what is this? > > http://img192.imageshack.us/img192/4103/screen1c.jpg > > If you left-down where is the start button you will see that text! > > And I am curious to know more about this... could someone explain it to me? > > To posts about the same problem (which I am not able to understand so much): > http://www.mathworks.com/matlabcentral/newsreader/view_thread/252795 > http://www.mathworks.de/matlabcentral/newsreader/view_thread/138903 > > But may help you to explain it to me! > > Thanks! the statement starts with an [ [cmplt_ ... % <- ... is the syntax for continuing <other stuff> but you're missing the closing ] <stuff>,'all'); % instead of <stuff>,'all')]; that's why the editor thinks you want to continue... us
|
Next
|
Last
Pages: 1 2 Prev: Conversion of symbolic expression to c code using ccode Next: strmatch related |