MATLAB Answers

2

Excessive, unnecessary output in command window

Asked by John McLaughlin on 27 Jan 2019
Latest activity Commented on by Lifeng Zhou on 14 Sep 2019 at 1:19
I am running the student version of R2018b on Ubuntu 18.04. My command window is displaying in red text a lot of information regarding HTTP data, and it's interfering with my ability to perform commands, as every command I put into the command window is followed by a wall of red text. An example includes:
03:46:49 INFO: READ: OnHeadersReceivedMessage{type=OnHeadersReceived, uid=794, browserContextId=0, requestId=83, url=https://localhost:31515/messageservice/async, method=POST, originalHeaders=Date: Sun, 27 Jan 2019 20:45:49 GMT
Connection: Keep-Alive
Server: EmbeddedConnector/1.0
Content-Type: application/json;charset=UTF-8
Content-Length: 88
, overrideHeaders=}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: WRITE: OnHeadersReceivedMessage{type=OnHeadersReceived, uid=794, browserContextId=0, requestId=83, url=https://localhost:31515/messageservice/async, method=POST, originalHeaders=Date: Sun, 27 Jan 2019 20:45:49 GMT
Connection: Keep-Alive
Server: EmbeddedConnector/1.0
Content-Type: application/json;charset=UTF-8
Content-Length: 88
, overrideHeaders=}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: READ: OnResponseStartedMessage{type=OnResponseStarted, uid=795, browserContextId=0, requestId=83, url=https://localhost:31515/messageservice/async, method=POST, responseCode=200}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: READ: OnCompletedMessage{type=OnCompleted, uid=796, browserContextId=0, requestId=83, url=https://localhost:31515/messageservice/async, method=POST, responseCode=200, status=0, errorCode=0}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: READ: OnRequestDestroyedMessage{type=OnRequestDestroyed, uid=797, browserContextId=0, requestId=83, url=https://localhost:31515/messageservice/async, method=POST}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: READ: OnShouldBeginRequestMessage{type=OnShouldBeginRequest, uid=798, browserContextId=0, url='https://localhost:31515/messageservice/async', method='POST', resourceType=13, cancel=false}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: WRITE: OnShouldBeginRequestMessage{type=OnShouldBeginRequest, uid=798, browserContextId=0, url='https://localhost:31515/messageservice/async', method='POST', resourceType=13, cancel=false}, SocketInfo{channelId=0, browserId=-1, channelType=Main}
03:46:49 INFO: READ: OnBeforeURLRequestMessage{type=OnBeforeUrlRequest, uid=799, browserContextId=0, requestId=84, url=https://localhost:31515/messageservice/async, method=POST, newLocation=, postData='[{"channel":"/meta/connect","connectionType":"long-polling","id":"600","clientId":"yjb3bFI7qtejE14Z"}]', fileList='', originalHeaders='Origin: https://localhost:31515
And that's not even all that appears just from trying to show the value of a variable. Any idea of how to disable or get rid of this?

  0 Comments

Sign in to comment.

3 Answers

Answer by Zaigham Randhawa on 10 Feb 2019

I am literally facing the same issue. I am running Linux mint and I think am using the student version as well.
Did you figure the probem out?

  0 Comments

Sign in to comment.


Answer by Friedrich Mangelsdorf on 4 Mar 2019

I had the same problem and solved it.
The problem: I installed Matlab as root but my academic license is registrated on my normal username.
Solution: Just change the ownership of the Matlab folder and files from root to your username.
sudo chown -R username:group path_to_your_matlab_directory

  1 Comment

I tried this but unfortunately it does not work :(

Sign in to comment.


Answer by Naufal Shidqi on 10 Apr 2019

this works for me
$ sudo rm -rf ~/.matlab
and reopen matlab

  3 Comments

this works for me for matlab version R2019a on Ubuntu 18.04
It works! Thanks!!!
You are genius! Thank you!

Sign in to comment.