필터 지우기
필터 지우기

Run comserver in R2020a failed

조회 수: 1 (최근 30일)
Weiliang Dai
Weiliang Dai 2024년 3월 19일
댓글: Weiliang Dai 2024년 3월 23일
I was trying to run the comserver('query') command and it failed with following error,
Unable to resolve the name System.Security.Principal.WindowsIdentity.GetCurrent.
Error in comserver_internal
Error in comserver (line 46)
[varargout{1:nargout}] = comserver_internal(action, nv);
Can someone help me to resolve this. The documentation for comserver says it was Introduced in R2020a. I have tested this command with R2020b and up, and it works fine. But I do need to run this command in my app with R2020a.
Thanks.

채택된 답변

Dhruv
Dhruv 2024년 3월 22일
I understand that you are encountering an error while attempting to execute the "comserver('query')" command. If you are using MATLAB in conjunction with an application like Spreadsheet Link, I recommend right-clicking on the application and selecting "Run as Administrator".
However, if this does not resolve the issue, it may be related to the problem described in the following bug report:
In this case, you will need to either update your existing R2020a version to Update 4 or later or upgrade MATLAB to the latest version.
  댓글 수: 1
Weiliang Dai
Weiliang Dai 2024년 3월 23일
I was trying to run the command under matlab prompt and it failed.
After update to 8 and rerun the command as regular user, it works ok now.
Thanks Dhruv for you comments.
weiliang

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by