miguelan
January 5th, 2008, 10:43 AM
I have installed Matlab version 7.0 on my Laptop. My laptop is an Acer Aspire 5630. I can run Matlab without problems. However, when using the desktop and trying to type an expression using an apostrophe, such as rand('state', 0), taking the transpose of a matrix, or whatever, then the symbol displayed is actually not an apostrophe, but something similar that Matlab does not recognize. Here below is an example of what it appears on my screen:
>> rand(´state´, 0);
??? rand(´state´, 0);
|
Error: The input character is not valid in MATLAB statements or expressions.
I've tried changing the settings of my keyboard, from US intl, to US, etc., but I did not succeed fixing the problem. Can anyone help me? It seems a quite silly problem, but I do not manage to fix it.
Miguel
PS: when running Matlab with the option -nodesktop, i.e. from a terminal, then I can write the apostrophes correctly and Matlab recognizes them.
>> rand(´state´, 0);
??? rand(´state´, 0);
|
Error: The input character is not valid in MATLAB statements or expressions.
I've tried changing the settings of my keyboard, from US intl, to US, etc., but I did not succeed fixing the problem. Can anyone help me? It seems a quite silly problem, but I do not manage to fix it.
Miguel
PS: when running Matlab with the option -nodesktop, i.e. from a terminal, then I can write the apostrophes correctly and Matlab recognizes them.