If I am logged into a MATLAB Instance I would like to read informations from my connected account to use it in my functions. Is this possible?
I want to use the name of the connected account to automatically write author informations into my template functions.

댓글 수: 5

Walter Roberson
Walter Roberson 2022년 1월 7일
Could you expand on what you mean by "logged into a MATLAB instance" ? For example are you talking about AWS ? Or do you mean that after you started MATLAB, you went to the Add-On Explorer and made sure you logged into your MATLAB account ?
Matti Kaupenjohann
Matti Kaupenjohann 2022년 1월 7일
I was talking about your second statement. In general I am already logged into the MATLAB Account when I start MATLAB.
Walter Roberson
Walter Roberson 2022년 1월 7일
I poked around some of the Add-Ons Manager code, hoping to find a place where it used a local credentials to connect to Mathworks... but I could not see anything like that in the looking I did.
It might be possible to find something if you poked around the java .jar files related to com.mathworks.addons_common.notificationframework.InstalledAddOnsCache but it would not be simple.
Matti Kaupenjohann
Matti Kaupenjohann 2022년 1월 9일
Any hint where I should start poking? I am not really familar with the java framework or where the mentioned jar file is located you mentioned.
filename = fullfile(matlabroot, 'java', 'jar', 'addons_common.jar')
You will need a java de-compiler to examine the contents.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2021a

태그

질문:

2022년 1월 7일

댓글:

2022년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by