Current client context warning

2 次查看(过去 30 天)
Måns Larsson
Måns Larsson 2016-4-15
评论: Albert 2017-8-18
Hi, everytime I start Matlab I get the following warning
"Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.a az WARNING: Tried to retrieve current client context, but queue was empty. Returning default context. Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.services.ClientEditorServiceImpl a INFO: Sending OpenFileResponse through request-response: OpenFileResponseMessageDO [file=FileDO{fileInfo=FileInfoDO{name='weizmann_train_joint_fcn.m', location='/home/cvia/Documents/Code/deepseg/structured_learning/2d/', isDirectory='false', version=null, filePermissions=FilePermissionsDO{canWrite=true}, shareAttributes=null}, data.length=4081}', lineNumber=-1', column=-1'] Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.a az WARNING: Tried to retrieve current client context, but queue was empty. Returning default context. Apr 15, 2016 9:18:33 AM com.mathworks.matlabserver.workercommon.client.services.ClientEditorServiceImpl a INFO: Sending OpenFileResponse through request-response: OpenFileResponseMessageDO [file=FileDO{fileInfo=FileInfoDO{name='weizmann_train_joint_fcn.m', location='/home/cvia/Documents/Code/deepseg/structured_learning/2d/', isDirectory='false', version=null, filePermissions=FilePermissionsDO{canWrite=true}, shareAttributes=null}, data.length=4081}', lineNumber=-1', column=-1']"
Something similar shows up when I enter debug mode. Everything still works fine but I was wondering what makes the message appear and how to get rid of it.
Thank you!
\\Måns

回答(1 个)

Ritesh Naik
Ritesh Naik 2016-4-18
This issue could be caused if any user-defined function name conflicts with MATLAB builtin function name.
To resolve this issue, remove such function from the path. This may be done with 'restoredefaultpath' or by manipulating only the folder which contains this function.
  2 个评论
Albert
Albert 2017-8-18
Is there a way to find out which function ist conflicting?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by