Current client context warning

1 回表示 (過去 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 件のコメント
Måns Larsson
Måns Larsson 2016 年 4 月 19 日
Ok, that worked. Thank you!
Albert
Albert 2017 年 8 月 18 日
Is there a way to find out which function ist conflicting?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeC Client Programming についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by