How to Confirm My MATLAB License is Educational/Student Version?

27 views (last 30 days)

Background:

I’m a current undergraduate student using my university email (@stu.hunau.edu.cn) to register a MathWorks account. However, I cannot confirm whether my license is an educational/student version or not.

---

1. MATLAB Version and Toolboxes

>> ver

The output lists several toolboxes, including:

MATLAB 2024b

Deep Learning Toolbox

Image Processing Toolbox

Optimization Toolbox

Statistics and Machine Learning Toolbox

...and more

---

2. License Tests

>> license ans = 'free'

>> license('test', 'student') ans = 0

>> license('inuse')

The license('inuse') shows:

matlab

neural_network_toolbox

signal_toolbox

---

3. License File Environment

>> getenv('MLM_LICENSE_FILE') ans = '13501@10.168.71.56:13501@10.168.231.186'

This suggests I'm using a network license server through my university campus network.

---

4. Internal Licensing Function

>> matlab.internal.licensing.isEducationLicense Error: Unable to resolve the name 'matlab.internal.licensing.isEducationLicense'.

---

5. Deep Learning Toolbox Functionality Test

I tested whether the Deep Learning Toolbox works by building a basic CNN:

try layers = [ imageInputLayer([28 28 1]) convolution2dLayer(32, 3, 'Name', 'conv1') reluLayer('Name', 'relu1') fullyConnectedLayer(10, 'Name', 'fc1') softmaxLayer('Name', 'softmax') classificationLayer('Name', 'classOut') ]; disp('Deep Learning Toolbox is available. No license issue detected.'); catch ME if contains(ME.message, {'License', 'Undefined function'}) disp('Deep Learning Toolbox is unavailable. Possibly due to missing student/educational license.'); else disp('Other error occurred.'); end end

Output:

Deep Learning Toolbox is available. No license issue detected.

---

My Key Questions:

1. I’m using MATLAB through my school’s license server. Since license('test', 'student') returns 0 and license returns 'free', does this mean I don’t have a student license?

2. I can access multiple toolboxes without restriction—does this imply I’m under a campus-wide educational license?

3. Why can’t I access matlab.internal.licensing.isEducationLicense? Is that function restricted?

4. How can I definitively check from my installation or account whether I have a student/educational license instead of a trial/commercial license?

Accepted Answer

Walter Roberson
Walter Roberson on 21 Apr 2025
>> getenv('MLM_LICENSE_FILE')
ans = '13501@10.168.71.56:13501@10.168.231.186'
You are using an education license, not a student license.
I do not find any documentation for matlab.internal.licensing.isEducationLicense at all, and the function does not appear on my R2025a pre-release.
Your license type should be listed on https://www.mathworks.com/mwaccount/?s_tid=user_nav_myac

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!