Current client context warning

1 vue (au cours des 30 derniers jours)
Måns Larsson
Måns Larsson le 15 Avr 2016
Commenté : Albert le 18 Août 2017
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

Réponses (1)

Ritesh Naik
Ritesh Naik le 18 Avr 2016
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 commentaires
Måns Larsson
Måns Larsson le 19 Avr 2016
Ok, that worked. Thank you!
Albert
Albert le 18 Août 2017
Is there a way to find out which function ist conflicting?

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by