Prev: reading after space
Next: remove element from list
From: Loren Shure on 22 Jul 2010 15:07 "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message news:i29j71$6et$1(a)fred.mathworks.com... > Hi, i'm facing a strange problem.. > > i always used the doc command and it showed me the complete reference page > of the fuction (using as an example the command "doc figure" i used to > visualize the page as available on the internet at > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html ) > > > what happens if i now type the same command is that it visualizes, on the > usual window just the help of the function (it's formatted but it's > exactly the same text you get typing the command "help figure") > > > > a few more things i noticed: > > - in the doc window searches now do not show any result (so if i search > for the window command it returns the "no matches found" page) > > - in that same window if i browse through the content i can still see the > original page (contents->MATLAB->Functions->graphics->handle > graphics->object creation->figure) > > > > how is it possible to restore the original behaviour? > > > i'm sorry if i've written too much but i wanted to provide you all the > details i noticed... is it possible you have a file named the same name a MATLAB function that is getting intercepted? -- Loren http://blogs.mathworks.com/loren/ http://matlabwiki.mathworks.com/MATLAB_FAQ
From: Marco on 23 Jul 2010 03:45 "Loren Shure" <loren.shure(a)mathworks.com> wrote in message <i2a4tc$a45$1(a)fred.mathworks.com>... > > "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message > news:i29j71$6et$1(a)fred.mathworks.com... > > Hi, i'm facing a strange problem.. > > > > i always used the doc command and it showed me the complete reference page > > of the fuction (using as an example the command "doc figure" i used to > > visualize the page as available on the internet at > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html ) > > > > > > what happens if i now type the same command is that it visualizes, on the > > usual window just the help of the function (it's formatted but it's > > exactly the same text you get typing the command "help figure") > > > > > > > > a few more things i noticed: > > > > - in the doc window searches now do not show any result (so if i search > > for the window command it returns the "no matches found" page) > > > > - in that same window if i browse through the content i can still see the > > original page (contents->MATLAB->Functions->graphics->handle > > graphics->object creation->figure) > > > > > > > > how is it possible to restore the original behaviour? > > > > > > i'm sorry if i've written too much but i wanted to provide you all the > > details i noticed... > > is it possible you have a file named the same name a MATLAB function that is > getting intercepted? > > -- > Loren > http://blogs.mathworks.com/loren/ > http://matlabwiki.mathworks.com/MATLAB_FAQ well..i'd say no since the result of the command "which doc" is /usr/matlab/R2010a/toolbox/matlab/helptools/doc.m and since it clearly opens the help page correctly but with the wrong content it makes me think about some strange setting or default path changed...
From: Wayne King on 23 Jul 2010 06:59 "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message <i2bhah$c3g$1(a)fred.mathworks.com>... > "Loren Shure" <loren.shure(a)mathworks.com> wrote in message <i2a4tc$a45$1(a)fred.mathworks.com>... > > > > "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message > > news:i29j71$6et$1(a)fred.mathworks.com... > > > Hi, i'm facing a strange problem.. > > > > > > i always used the doc command and it showed me the complete reference page > > > of the fuction (using as an example the command "doc figure" i used to > > > visualize the page as available on the internet at > > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html ) > > > > > > > > > what happens if i now type the same command is that it visualizes, on the > > > usual window just the help of the function (it's formatted but it's > > > exactly the same text you get typing the command "help figure") > > > > > > > > > > > > a few more things i noticed: > > > > > > - in the doc window searches now do not show any result (so if i search > > > for the window command it returns the "no matches found" page) > > > > > > - in that same window if i browse through the content i can still see the > > > original page (contents->MATLAB->Functions->graphics->handle > > > graphics->object creation->figure) > > > > > > > > > > > > how is it possible to restore the original behaviour? > > > > > > > > > i'm sorry if i've written too much but i wanted to provide you all the > > > details i noticed... > > > > is it possible you have a file named the same name a MATLAB function that is > > getting intercepted? > > > > -- > > Loren > > http://blogs.mathworks.com/loren/ > > http://matlabwiki.mathworks.com/MATLAB_FAQ > > > well..i'd say no since the result of the command > > "which doc" is > > /usr/matlab/R2010a/toolbox/matlab/helptools/doc.m > > and since it clearly opens the help page correctly but with the wrong content it makes me think about some strange setting or default path changed... Hi Marco, did you just install R2010a on your linux box? I'm assuming that this has never worked for you. Can you try the following: 1.) Enter errormsg = javachk('mwt', 'The doc command'); to make sure that you don't get an error. From what you described, I don't think you will. erromsg should be a 0x1 struct array. 2.) Enter helpUtils.isDocInstalled to see if this returns a 1 . 3.) Try the following command com.mathworks.mlservices.MLHelpServices.showReferencePage('fft',0) I suspect this will not work to produce the reference page in your help browser. If everything is configured correctly, this should produce the reference page in your help browser. I think you should use what you get back from executing the above and contact technical support, or have your local MATLAB administrator contact technical support if you are working in a networked installation. Make sure you have all your installation information including your java version available. I would use the commands that you have tried and the results (including the ones I have given you) to produce a script to explain what you have done and what behavior you observe. This will help them to quickly diagnose and repair your issue. Wayne
From: Marco on 23 Jul 2010 09:30 "Wayne King" <wmkingty(a)gmail.com> wrote in message <i2bslr$vu$1(a)fred.mathworks.com>... > "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message <i2bhah$c3g$1(a)fred.mathworks.com>... > > "Loren Shure" <loren.shure(a)mathworks.com> wrote in message <i2a4tc$a45$1(a)fred.mathworks.com>... > > > > > > "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message > > > news:i29j71$6et$1(a)fred.mathworks.com... > > > > Hi, i'm facing a strange problem.. > > > > > > > > i always used the doc command and it showed me the complete reference page > > > > of the fuction (using as an example the command "doc figure" i used to > > > > visualize the page as available on the internet at > > > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html ) > > > > > > > > > > > > what happens if i now type the same command is that it visualizes, on the > > > > usual window just the help of the function (it's formatted but it's > > > > exactly the same text you get typing the command "help figure") > > > > > > > > > > > > > > > > a few more things i noticed: > > > > > > > > - in the doc window searches now do not show any result (so if i search > > > > for the window command it returns the "no matches found" page) > > > > > > > > - in that same window if i browse through the content i can still see the > > > > original page (contents->MATLAB->Functions->graphics->handle > > > > graphics->object creation->figure) > > > > > > > > > > > > > > > > how is it possible to restore the original behaviour? > > > > > > > > > > > > i'm sorry if i've written too much but i wanted to provide you all the > > > > details i noticed... > > > > > > is it possible you have a file named the same name a MATLAB function that is > > > getting intercepted? > > > > > > -- > > > Loren > > > http://blogs.mathworks.com/loren/ > > > http://matlabwiki.mathworks.com/MATLAB_FAQ > > > > > > well..i'd say no since the result of the command > > > > "which doc" is > > > > /usr/matlab/R2010a/toolbox/matlab/helptools/doc.m > > > > and since it clearly opens the help page correctly but with the wrong content it makes me think about some strange setting or default path changed... > > Hi Marco, did you just install R2010a on your linux box? I'm assuming that this has never worked for you. Can you try the following: > > 1.) Enter > errormsg = javachk('mwt', 'The doc command'); > > to make sure that you don't get an error. From what you described, I don't think you will. erromsg should be a 0x1 struct array. > > 2.) Enter > > helpUtils.isDocInstalled > > to see if this returns a 1 . > > 3.) Try the following command > > com.mathworks.mlservices.MLHelpServices.showReferencePage('fft',0) > > I suspect this will not work to produce the reference page in your help browser. If everything is configured correctly, this should produce the reference page in your help browser. > > I think you should use what you get back from executing the above and contact technical support, or have your local MATLAB administrator contact technical support if you are working in a networked installation. > > Make sure you have all your installation information including your java version available. I would use the commands that you have tried and the results (including the ones I have given you) to produce a script to explain what you have done and what behavior you observe. This will help them to quickly diagnose and repair your issue. > > Wayne > > > > everything works the way you expected:no error, doc is installed and the third command returns a zero... i will contact the technical support then! thank you so much for your help!
From: Marco on 23 Jul 2010 09:53
"Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message <i2c5hi$mic$1(a)fred.mathworks.com>... > "Wayne King" <wmkingty(a)gmail.com> wrote in message <i2bslr$vu$1(a)fred.mathworks.com>... > > "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message <i2bhah$c3g$1(a)fred.mathworks.com>... > > > "Loren Shure" <loren.shure(a)mathworks.com> wrote in message <i2a4tc$a45$1(a)fred.mathworks.com>... > > > > > > > > "Marco " <fake.marco.fake.minini(a)treuropa.com> wrote in message > > > > news:i29j71$6et$1(a)fred.mathworks.com... > > > > > Hi, i'm facing a strange problem.. > > > > > > > > > > i always used the doc command and it showed me the complete reference page > > > > > of the fuction (using as an example the command "doc figure" i used to > > > > > visualize the page as available on the internet at > > > > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html ) > > > > > > > > > > > > > > > what happens if i now type the same command is that it visualizes, on the > > > > > usual window just the help of the function (it's formatted but it's > > > > > exactly the same text you get typing the command "help figure") > > > > > > > > > > > > > > > > > > > > a few more things i noticed: > > > > > > > > > > - in the doc window searches now do not show any result (so if i search > > > > > for the window command it returns the "no matches found" page) > > > > > > > > > > - in that same window if i browse through the content i can still see the > > > > > original page (contents->MATLAB->Functions->graphics->handle > > > > > graphics->object creation->figure) > > > > > > > > > > > > > > > > > > > > how is it possible to restore the original behaviour? > > > > > > > > > > > > > > > i'm sorry if i've written too much but i wanted to provide you all the > > > > > details i noticed... > > > > > > > > is it possible you have a file named the same name a MATLAB function that is > > > > getting intercepted? > > > > > > > > -- > > > > Loren > > > > http://blogs.mathworks.com/loren/ > > > > http://matlabwiki.mathworks.com/MATLAB_FAQ > > > > > > > > > well..i'd say no since the result of the command > > > > > > "which doc" is > > > > > > /usr/matlab/R2010a/toolbox/matlab/helptools/doc.m > > > > > > and since it clearly opens the help page correctly but with the wrong content it makes me think about some strange setting or default path changed... > > > > Hi Marco, did you just install R2010a on your linux box? I'm assuming that this has never worked for you. Can you try the following: > > > > 1.) Enter > > errormsg = javachk('mwt', 'The doc command'); > > > > to make sure that you don't get an error. From what you described, I don't think you will. erromsg should be a 0x1 struct array. > > > > 2.) Enter > > > > helpUtils.isDocInstalled > > > > to see if this returns a 1 . > > > > 3.) Try the following command > > > > com.mathworks.mlservices.MLHelpServices.showReferencePage('fft',0) > > > > I suspect this will not work to produce the reference page in your help browser. If everything is configured correctly, this should produce the reference page in your help browser. > > > > I think you should use what you get back from executing the above and contact technical support, or have your local MATLAB administrator contact technical support if you are working in a networked installation. > > > > Make sure you have all your installation information including your java version available. I would use the commands that you have tried and the results (including the ones I have given you) to produce a script to explain what you have done and what behavior you observe. This will help them to quickly diagnose and repair your issue. > > > > Wayne > > > > > > > > > > everything works the way you expected:no error, doc is installed and the third command returns a zero... > > i will contact the technical support then! > > thank you so much for your help! i just discovered by chance what is the cause of everything: there's something that changes the permissions of the temporary folder so that i can't write anymore in it... so "my answer" to "my post" is: check that you have privileges to read write on the temporary directory of matlab (you can discover what is the temporary directory with the command "tempdir" ) thanks to Wayne and to everybody else who helped me with this issue! |