How to choose between different licenses in MATLAB Online?

3 次查看(过去 30 天)
Im taking part in some online courses using Matlab. For this courses there is a license for Matlab online to work through the course. For the new course i have taken, i need to use the license, since there is 'Text Anlalytics Toolbox' included only in this one. How do i choose this license when starting Matlab online? At the moment it always starts with the license from the first course i have taken - so that i cannot proceed:
Can anyone tell me how to choose between the licenses?
best regards
Stephan
  3 个评论
Rik
Rik 2023-2-1

What dpb mentioned notwithstanding, if you get a reply, please post it as an answer, since I do consider this relevant information for this forum.

Stephan
Stephan 2023-2-1
编辑:Stephan 2023-2-1
Hi,
thanks for your comments.
@dpb you're right - just hoped that i missed something obvious and somebody can help me out. It doesn't seem to be the case that it's easy to solve...
@Rik i will do so - maybe interesting for other users too.

请先登录,再进行评论。

采纳的回答

Cris LaPierre
Cris LaPierre 2023-2-2
Can you confirm that there is an actual error message? As Isaac said, MATLAB Online should grant you access to all toolboxes you have a license for.
Please try running this code in MATLAB Online and let us know if it works.
filename = "sonnetsPreprocessed.txt";
str = extractFileText(filename);
textData = split(str,newline);
documents = tokenizedDocument(textData);
figure
wordcloud(documents);
  3 个评论
Stephan
Stephan 2023-2-2
编辑:Stephan 2023-2-2
"...Can you confirm that there is an actual error message?..." - yes and no. When the problem occured there was the error message:
'extractFileText' requires Text Analytics Toolbox.
To find out whats going on, i used ver with the following result:
ver
-----------------------------------------------------------------------------------------------------MATLAB Version: 9.13.0.2145394 (R2022b) Update 3
MATLAB License Number: XXXXXXXXX
Operating System: Linux 5.4.224-0504224-generic #202211101403 SMP
Thu Nov 10 21:10:29 UTC 2022
x86_64Java Version: Java 1.8.0_292-b10 with AdoptOpenJDK OpenJDK 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.13 (R2022b)
Control System Toolbox Version 10.12 (R2022b)
Optimization Toolbox Version 9.4 (R2022b)
Signal Processing Toolbox Version 9.1 (R2022b)
Statistics and Machine Learning Toolbox Version 12.4 (R2022b)
Symbolic Math Toolbox Version 9.2 (R2022b)
However, now after reading your answer i tried what you suggested - and everything works as you stated:
license inuse
audio_system_toolbox
control_toolbox
database_toolbox
image_toolbox
map_toolbox
matlab
neural_network_toolbox
optimization_toolbox
signal_blocks
signal_toolbox
statistics_toolbox
symbolic_toolbox
text_analytics_toolbox
video_and_image_blockset
Also this gives the desired result using Matlab Online:
filename = "sonnetsPreprocessed.txt";
str = extractFileText(filename);
textData = split(str,newline);
documents = tokenizedDocument(textData);
figure
wordcloud(documents);
What should i say? Both tests are ok and the problem is solved. So far so good - ...but why? What happend?
Thanks for your answers - if you could explain what happened here, i would be happy. Since i can proceed the work in the course, im glad.
Best regards
Stephan

请先登录,再进行评论。

更多回答(1 个)

Isaac Bruss
Isaac Bruss 2023-2-1
Hi Stephan.
If you have multiple licenses with different toolboxes attached to your account, then you should have access to the full inclusive list of them. "Switching" licenses not not required.
Based on the screenshot you've shared, there appears to be an issue with your account. I've engaged with customer support.

类别

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