What is a Host ID? How do I find my Host ID in order to activate my license?

8.626 views (last 30 days)
In order to activate my license, I must provide a Host ID. What is a Host ID and how do I find it on my computer?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Apr 2023 at 4:00
Edited:MathWorks Support Team on 19 Apr 2023 at 15:58
A Host IDis a specific piece of information which uniquely identifies a computer. Host IDs are used to generate MATLAB license files, which are machine-specific. Most of the time, the host ID is the lowest-enumerated MAC address of the computer. However, there are exceptions to this:
  • 与一个单独的许可在Windows机器上,the Volume Serial Number of the C: drive can be used as the host ID.
  • With network licenses, the IP address can be used as the host ID. This is not recommended, as IP addresses can change due to external factors. If you are trying to use an IP address as your Host ID on Windows, please review this articlehereif you are running into issues.
To find your Host ID, follow the instructions below for your operating system.

Windows
For Individual and Designated Computer licenses, the Host ID can be either the Volume Serial Number of the C: drive, or the MAC address of the network adapter.
To obtain the volume serial number, open a Windows command prompt and run the following command:
volc:
The Volume Serial Number is the value listed at the end of the second line of output (e.g. "Volume Serial Number is 1234-ABCD")
For Network Concurrent or Network Named User licenses, the MAC address must be used as the Host ID. Additionally, computers with a B: drive must use the MAC address as the host ID.
To obtain the MAC address, open a Windows command prompt and run the following command:
getmac-v
If this produces multiple MAC addresses, use the one at the top of the list.

MacOS
For MacOS, the Host ID is the MAC address of the en0 device.
To obtain the MAC address of the en0 device, start by opening a Terminal window:
  • Open Finder
  • Open the "Applications" folder
  • Open the "Utilities" folder
  • Start the "Terminal" application
In the Terminal window, enter the following command:
ifconfig en0 | grep ether
The MAC address is the value listed next to "ether".

Linux
With R2014a and later,anyMAC address can serve as the host ID regardless of the interface name. If the interfaces are enumerated, use the lowest-enumerated interface.
To obtain the MAC address using a bash shell, run the following command:
/sbin/ifconfig
Where is the name of the network interface. For example, eno1, eth0, wlan0, or enp5s0 are common Linux network interface names, although this will vary from computer to computer.
You can also run the following command if you don't have net-tools installed:
ipaddr | grep ether
R2013b和早些时候,主机ID是MAC添加ress of the eth0 or en0 interface.
To obtain the MAC Address using a bash shell, run the following command:
/sbin/ifconfig eth0
or
/sbin/ifconfig eth1
The MAC Address is usually the value listed next to "HWaddr". If your Linux distribution does not have network interfaces which follow the enX or ethX naming scheme, you will either need to update to MATLAB R2014a or later, or change the name of your interfaces so MATLAB can detect them. Consult your distribution's documentation for instructions on changing the network interface naming scheme.
16 Comments
Ethan
Ethan on 22 Nov 2022
Edited:Ethan on 22 Nov 2022
So the manual activation page where you put in your HOST ID and then it spits out the Installation key is jacked up.
It only shows a small part of the Installation key and you have to scroll over on the single line text box to see the rest.... You will have to scroll over multiple times to get the whole Installation key.
I found this out by going to the advanced options tab and seeing that the Installation key is about 8 times as long as what shows up on that single line text box they have on the manual activation page.
Why they decided to set the page up like this makes no sense unless they intentionally wanted to cause user frustration.

Sign in to comment.

More Answers (33)

Nicholas Fowler
Nicholas Fowler on 21 Jan 2015
I have downloaded MatLab and everything but now when I try to access it, an error pops up saying that my username does not match the username in the license file. I'm not a huge tech-guy, so could anybody give me a step process on how to solve this?
THANKS
7 Comments

Sign in to comment.


Jack
Jack on 23 Aug 2022
Edited:Rena Berman on 23 Aug 2022
MATLAB/R2018b/licenses/license_quartet_972477_R2018b.lic
Licensingerror: -9,57.
This is a pain and a needless one -- if GOG.com can make a profit by assuming consumers are honest, I am sure that Mathworks can.
3 Comments
Walter Roberson
Walter Roberson on 28 Oct 2022
GOG is bankrolled by CD Projekt Red, which makes its money from the Witcher series and from Cyberpunk 2077 -- both of which have copy protection in their mass editions. GOG does not create its own products: it makes its money selling games. Opportunities for business growth are limited, since the major studios run their own branded game servers and so capture most of the market -- and Apple and Steam and Google and Microsoft all run game centers that provide access to games (some with subscription models.) GOG does not live in the space of providing the newest games, it lives in the space of providing access to the older games.
For GOG to grow in more than incremental ways (people looking for older games find it and hang around), it would have to take on entire new sectors. Not game development itself, since that is CD Projekt Red's scope. Something like finding studios that want to drop support for one of their shared-world games and offering to take over that support. Such as if they had been there to take over WiiNet when Nintendo decided to abandon it.
But the business that @Jack 称,“通过假设消费者获利are honest" -- No, GOG is failing on that, losing money during the time when game studio profits went up a lot as people were stuck at home. It is a business model that might be able to survive by stopping new development and laying off most people and just doing enough to keep the engines turning, but it is not a business model in which to thrive.
Source: I own about 150 games through GOG. I receive their promotion offers nearly daily. They are a useful service -- but the only real difference compared to Steam is that if potentially one of them were to remove a game from their offerings, that I would be able to copy the GOG version between hosts or partitions... if, that is, I happened to have a copy of the game installed. Which I mostly don't.

Sign in to comment.


Pinar Pir
Pinar Pir on 25 Mar 2018
Hello, I find my HOST ID in windows as XXXX-XXXX, I copy paste this, but get the error: The Host ID given is not valid for the OS you have chosen. Please check the "How do I find my Host ID?" link, and be sure there are no invalid characters (!@#$%^&*():-) in your Host ID
I tried to replace - with _ or space or completely remove it, but I still get the same error.
The ID is for vol c:, and I have a d: as well, but installation is being made on c:. I tried using ID of vol d: but it does not work either.
What should I do?
12 Comments
Walter Roberson
Walter Roberson on 14 Feb 2023
I realized that I do not know what would happen on Windows if you do not have a C: drive but do (for example) have a D: drive.
The official answer said, though, that you must use MAC address if you do have a B: drive. (Traditionally, A: and B: were floppy drives.)

Sign in to comment.


ThatNeuroGuy
ThatNeuroGuy on 25 Jul 2018
It is worth noting that the default name of the ethernet connections in CentOS 7 has changed. It is now "eno#", so the command would look something like this: /sbin/ifconfig/eno1

Manuel Ortiz
Manuel Ortiz on 27 Sep 2022
我得到这个错误当我试着运行lmstart文件the $MATLAB/etc/
Error: Your hostnamematches the hostname on a SERVER line in
yourlicense file but the lmhostid in that line does not.
Yourlocal lmhostid(s) are:
1 Comment
Walter Roberson
Walter Roberson on 27 Sep 2022
The SERVER line in the license file must be of the format
SERVERnodename id port-number
The message is saying that the nodename you have is fine, but the id does not match what lmhostid would say for your machine.
If you have the lmtools executable you can use the System Settings tab to find the server host id for flexlm purposes -- it would typically match one of the MAC addresses (without the colons)

Sign in to comment.


Luca
Luca on 23 Oct 2017
Edited:Walter Roberson on 2 Nov 2017
Hi,I have a pc running windows7 and Fedora Linux. I installed Matlab with Campus license first on Windows, then on linux. Setup is fine, but at the launch of the matlab console command I read...
[luca@luca bin]$matlab
rm: impossibile rimuovere'/tmp/matlab.luca.need_softwareopengl.log': Operation not permitted
/usr/local/MATLAB/R2017b/bin/matlab-glselector.sh: riga 68: /tmp/matlab.luca.need_softwareopengl.log: Permission denied
MATLABis selecting SOFTWARE OPENGL rendering.
Licensecheckout failed.
LicenseManager Error -9
Yourusername does not match the username in the license file.
Torun MATLAB on this computer, youmust run the Activation client to reactivate your license.
Troubleshootthis issue by visiting:
//www.tatmou.com/support/lme/R2017b/9
DiagnosticInformation:
Feature: MATLAB
Licensepath: /home/luca/.matlab/R2017b_licenses:/usr/local/MATLAB/R2017b/licenses/license.dat:/usr/local/MATLAB/R
2017b/licenses/license_luca_40614116_R2017b.lic
...Why? tnks
2 Comments
Walter Roberson
Walter Roberson on 2 Nov 2017
On Linux systems, the most common cause of this seems to be having answered "root" when the activation procedure asked which username to use. Another possibility is having answered with a full name instead of a username -- for example if you had replied "Luca Filippone" instead of "luca" when you ran the activation.

Sign in to comment.


Luca
Luca on 5 Nov 2017
Edited:Walter Roberson on 5 Nov 2017
tnks, now the error is..
[luca@Luca ~]$matlab
Errorlogs successfully sent to MathWorks.
------------------------------------------------------------------------
Segmentationviolation detected at Sun Nov5 23:19:39 2017
------------------------------------------------------------------------
Configuration:
CrashDecoding: Disabled - No sandbox or build area path
CrashMode: continue (default)
CurrentVisual: 0x65 (class 4, depth 24)
DefaultEncoding: UTF-8
Deployed : false
GNUC Library: 2.25 stable
HostName: Luca.localdomain
MATLABArchitecture : glnxa64
MATLABEntitlement ID: 4372111
MATLABRoot: /usr/local/MATLAB/R2017b
MATLABVersion: 9.3.0.713579 (R2017b)
OperatingSystem: Linux 4.12.9-300.fc26.x86_64 #1 SMP Fri Aug 25 13:09:43 UTC 2017 x86_64
ProcessorID: x86 Family 6 Model 42 Stepping 7, GenuineIntel
VirtualMachine: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
WindowSystem: Fedora Project (11903000), display:1
FaultCount: 1
Abnormaltermination:
Segmentationviolation
RegisterState (from fault):
RAX = 00007f0c7060ac38 RBX = 000000000000001a
RCX = 00007f0c7060c0d8 RDX = 00000000021f6660
RSP = 00007f0ce33ad7e8 RBP = 0000000000000001
RSI = 00007ffe37ceb1b8 RDI = 0000000000000001
R8 = 0000000000000000 R9 = 0000000000000010
R10 = 00007f0c887e50b0 R11 = 0000000000000206
R12 = 00007ffe37ceb1b8 R13 = 00000000021f6660
R14 = 00007f0c7060ac30 R15 = 00007f0c887e1270
RIP = 000000000000beb0 EFL = 0000000000010246
CS = 0033 FS = 0000 GS = 0000
StackTrace (from fault):
[ 0] 0x000000000000beb0 +00000000
Ifthis problem is reproducible, pleasesubmit a Service Request via:
//www.tatmou.com/support/contact_us/
Atechnical support engineer might contact you with further information.
Thankyou for your help.** This crash report has been saved to disk as /home/luca/matlab_crash_dump.12032-1 **
MATLABis exiting because of fatal error
Killed
1 Comment
Walter Roberson
Walter Roberson on 5 Nov 2017
You should contact Mathworks for free installation assistance.
I suspect you have problems related to libc

Sign in to comment.


Guangzhao Xu
Guangzhao Xu on 28 Nov 2017
What if I have only one interface lo in Linux with MAC address 00:00:00:00:00:00 ? Thank you very much!
1 Comment
Walter Roberson
Walter Roberson on 28 Nov 2017
Then you cannot use MATLAB. Interface lo is the "local loopback" which is an internal fiction to allow the host to talk to itself. You need at least one network device configured for Linux (it does not have to be attached to the internet, but it must exist.)

Sign in to comment.



montes charles
montes charles on 22 Oct 2018
In order to activate my license, I must provide a Host ID. What is a Host ID and how do I find it on my computer?
1 Comment
Walter Roberson
Walter Roberson on 22 Oct 2018
(The instructions there are perhaps a little weak for MacBook Air which might not have an en0)

Sign in to comment.


guangpeng liu
guangpeng liu on 23 Nov 2018
error.png ,I have downloaded MatLab and install in my computer but now when the installation is over,i open the matlab program , there is a error as show in the picture , so could anybody give me a step process on how to solve this?
THANKS
1 Comment
Kyle Perry
Kyle Perry on 29 Nov 2018
Hello,
The error you are receiving usually means the username you are launching MATLAB with does not match the username in the license file. In order to resolve this please re-run the MATLAB activation client and activate to the correct username.
我附上了链接低于解释这个error and how to resolve it in more detail:

Sign in to comment.


James Hill
James Hill on 28 Dec 2018
Edited:James Hill on 28 Dec 2018
**** I deleted my last activation for the website and re-ran the activation and it work******
License checkout failed.
License Manager Error -9
The hostid of your computer (" 72e61f774187 80fa5b61132c ") does not match the hostid of the license
file ( 064303c59aa9 ).
To run MATLAB on this computer, you must run the Activation client to reactivate your license.
License checkout failed.
License Manager Error -9
The hostid of your computer (" de026e164bfb 80fa5b61132c ") does not match the hostid of the license
file ( 227476e03f48 ).
License Manager Error -9
The hostid of your computer (" 82a0913137be 80fa5b61132c ") does not match the hostid of the license
file ( 426c28538ee0 ).
To run MATLAB on this computer, you must run the Activation client to reactivate your license
License Manager Error -9
The hostid of your computer (" 5eb0f3ee0874 80fa5b61132c ") does not match the hostid of the license
file ( 3e282db599ea ).
I activate. Use my standard account login name . Run matlab immediatlely after activation. Host ID keeps changing from one activation attempt to the next. It was working fine until I installed Parallel Toolbox.
My OS is:
Linux enkidu-t3a 4.19.12-2-MANJARO #1 SMP PREEMPT Sun Dec 23 19:08:00 UTC 2018 x86_64 GNU/Linux
inxi -n:
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: enp111s0 state: up speed: 1000 Mbps duplex: full mac: 80:fa:5b:61:13:2c
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi
IF: wlp113s0 state: down mac: 96:5a:28:6b:14:48
2 Comments
James Hill
James Hill on 28 Dec 2018
Edited:James Hill on 29 Dec 2018
Hi Walter,
I thought about the dynamic MAC addressing, however, if you look at my inxi -n output and the MAC address from that and compare it to the supposed HOST ID that never changes.
I just looked at my activated license. The activation label does reference my Wireless MAC and Host ID references the Wired so that may be the problem. Since MATHWORKS fails to propertly document or describe how the activation label works in situ with HOST ID it was not obvious at first.
The disconcerting aspect is why it took several activation attempts with no reboots to "fix" with no other changes to the system. I personally gained no understanding of what I did between working and not working.
I would suggest starting with a clean slate if this problem arises. Delete all the activations on the MATHWORKS website and your .lic file locally.
If you use Arch Linux or an Arch derivative:
as well as Walter's links above
From:
hwinfo:
92: None 00.0: 10701 Ethernet
[Created at net.126]
SysFS ID: /class/net/wlp113s0
SysFS Device Link: /devices/pci0000:00/0000:00:1d.7/0000:71:00.0
Hardware Class: network interface
Model: "Ethernet network interface"
Driver: "iwlwifi"
Driver Modules: "iwlwifi"
Device File: wlp113s0
HW Address: f2:8a:8c:c2:47:b7
Permanent HW Address: 34:e1:2d:df:1d:49
Link detected: no
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #27 (WLAN controller)
----- where as ----- Wired
91: None 00.0: 10701 Ethernet
[Created at net.126]
SysFS ID: /class/net/enp111s0
SysFS Device Link: /devices/pci0000:00/0000:00:1d.5/0000:6f:00.0
Hardware Class: network interface
Model: "Ethernet network interface"
Driver: "r8169"
Driver Modules: "r8169"
Device File: enp111s0
HW Address: 80:fa:5b:61:13:2c
Permanent HW Address: 80:fa:5b:61:13:2c
Link detected: yes
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #26 (Ethernet controller)
--------
Why MATHWORKS ever thought that using the MAC addres was a "smart" idea when it can be changed for valid sercurity reasons or at least choosing to the use the correct HW address.
Here is something interresting:
sudo inxi -n -v4
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: CLEVO/KAPOK driver: r8169 v: kernel
port: 3000 bus ID: 6f:00.0
IF: enp111s0 state: up speed: 1000 Mbps duplex: full mac: 80:fa:5b:61:13:2c
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: 3000 bus ID: 71:00.0
IF: wlp113s0 state: down mac: 66:53:f3:57:d6:46
MATHWORKS the above is what I mean by "not smart".
When items in these groups below of have a much better chance of being stable:
Drives: Local Storage: total: 2.98 TiB used: 44.31 GiB (1.5%)
ID-1: /dev/mmcblk0 model: 00000 size: 238.50 GiB
ID-2: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 1TB size: 953.87 GiB
ID-3: /dev/sda vendor: Seagate model: ST2000LX001-1RG174 size: 1.82 TiB
Partition: ID-1: / size: 937.28 GiB used: 44.31 GiB (4.7%) fs: xfs dev: /dev/nvme0n1p1
ID-2: swap-1 size: 15.62 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p2
Machine: Type: Laptop System: System76 product: Oryx Pro v: oryp4-b serial: N/A
Mobo: System76 model: Oryx Pro v: oryp4-b serial: N/A UEFI: American Megatrends v: 1.07.05RSA3S76 date: 06/14/2018
Which would allow us, who travel, to opt for a higher level of security.
James

Sign in to comment.



Markus Künzli
Markus Künzli on 14 Mar 2019
Hi Guys,
Is there a way to don't use a MAC-Address for a Linux installation?
Our MatLab installations are on a bootable Stick for exams, so the problem is everytime a Stick is mounted on another Computer the MAC-Adress is not the one we licened. The Stick has no internet access!
Thanks for your help!
Simon
1 Comment
Walter Roberson
Walter Roberson on 14 Mar 2019
You should probably contact Technical Support about this. I do not know if it can be done.

Sign in to comment.


Tim Reichard
Tim Reichard on 24 Jan 2020
622B-CB38
1 Comment
Walter Roberson
Walter Roberson on 26 Jan 2020
None of the volunteers who answers questions here can do anything useful with a drive serial number. In particular, we cannot generate license keys for you from it. You will probably need to contact Mathworks Support for free installation assistance.

Sign in to comment.


Marcos Amorim
Marcos Amorim on 25 Mar 2020
I bought the student matlab and the order came up. But I did not receive the activation key. Today I log into the account I created, the orders do not appear and I do not know how to get the activation key. Marcos A G Amorim Brazil
I Pay with card


Iain Whiteside
Iain Whiteside on 12 Jun 2020
Edited:Walter Roberson on 12 Jun 2020
许可激活不会接受MAC地址of our three redundant NLM servers They are configured as:
00:00:00:00:00:01
00:00:00:00:00:02
00:00:00:00:00:03
As they are running in docker hosts on AWS. Why aren't these valid addresses accepted?
3 Comments

Sign in to comment.


Scott Stephens
Scott Stephens on 4 Sep 2020
Does anyone know how I can get through this licensing requirement for a virtual machine with no MAC address?
I'm trying to get Matlab installed on a Codeanywhere container running Ubuntu, with no luck.
box@Mat:/$ifconfig -a
loLink encap:Local Loopback
inetaddr:127.0.0.1Mask:255.0.0.0
UPLOOPBACK RUNNINGMTU:65536Metric:1
RXpackets:0 errors:0 dropped:0 overruns:0 frame:0
TXpackets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RXbytes:0 (0.0 B)TX bytes:0 (0.0 B)
venet0Link encap:UNSPECHWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inetaddr:127.0.0.2P-t-P:127.0.0.2Bcast:0.0.0.0Mask:255.255.255.255
UPBROADCAST POINTOPOINT RUNNING NOARPMTU:1500Metric:1
RXpackets:22475 errors:0 dropped:0 overruns:0 frame:0
TXpackets:11661 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RXbytes:25693470 (25.6 MB)TX bytes:1022082 (1.0 MB)
venet0:0 Linkencap:UNSPECHWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inetaddr:172.52.38.98P-t-P:172.52.38.98Bcast:172.52.38.98Mask:255.255.255.255
UPBROADCAST POINTOPOINT RUNNING NOARPMTU:1500Metric:1
No intelligible MAC address here :(
Because, there's no network card on this virtual machine
box@Mat:/tmp$inxi -n
Network: Card: Failed toDetect Network Card!
Pretty annoyed. I can run completely free software like Rserver, Julia etc, but the software I have to pay thousands for doesn't work....
1 Comment
Walter Roberson
Walter Roberson on 5 Sep 2020
  • MAC address of all zero is a forbidden MAC address. Whoever designed that software did so in defiance of standards. Mathworks is entitled to expect that you will only use it in a standards compliant environment.
  • venet interfaces cannot have a MAC address configured for them.
  • so you will need to add a virtual interface.
  • veth can have MAC addresses configured for them. I do not know if MATLAB enumerates veth for licensing though.
  • you can configure a virtual eth0 and MATLAB would very likely find that
  • http://updates.virtuozzo.com/doc/pcs/en_us/virtuozzo/6/current/html/Virtuozzo_Users_Guide/35847.htm

Sign in to comment.


tahir khalil
tahir khalil on 26 Sep 2020

Stavros Argyropoulos
Stavros Argyropoulos on 28 Oct 2020
Edited:Walter Roberson on 28 Oct 2020
XXXX-XXXX
2 Comments
Walter Roberson
Walter Roberson on 28 Oct 2020
What was your intent in posting your hard disk serial number?
The volunteers here do not have access to the license database, so we cannot create keys or licenses.

Sign in to comment.


Abhishek Kanakagiri
Abhishek Kanakagiri on 8 Feb 2021
For Linux/Ubuntu Users, the Host id can be found in settings -> Network -> setting icon next to Wired/Wireless conncetion -> In details tab, the Hardware address is the Host id for the system.


Pawel Kubik
Pawel Kubik on 20 Jul 2021
Edited:Pawel Kubik on 20 Jul 2021
Do MAC address used as Host ID must be the first of list displayed in terminal (getmac)?
In my case the mac is assignet to Hyper-V virtual switch. If I delelete the switch I will need to regenerate licence file for the computer?
1 Comment
Colin Fraser
Colin Fraser on 21 Jul 2021
It should be whatever the actual physical card's address is. This may not be the first but the second. If you delete the switch, you will need to regenerate the license file.
If you are still experiencing this issue, please create a service request below.
-Colin Fraser

Sign in to comment.


mahesh vyas
mahesh vyas on 22 Jul 2021
Edited:Jan on 26 Jul 2021
Sir
I have change my PC due to trouble in old PC. My new Host ID and user name are as follows:
Host ID: DISK_SERIAL_NUM=b026xxxxx
Release: R2008b Windows
User Name: camvc216mahesh
My Installation Key is xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
when i running the MATLAB the error has been shown on screen
I receive License Manager Error -9?
please rectified my problem
my email id is mc.vyas@gmail.com
2 Comments
Walter Roberson
Walter Roberson on 26 Jul 2021
The use of disk serial number and activation keys for installation narrow this situation down to a Windows installation of a Student license (well, we need the additional information about it being R2008b to completely rule out the possibility of it being a Home license.)

Sign in to comment.


Ferdinand Bogos
Ferdinand Bogos on 3 Oct 2021
My matlab installation licence number is not activated
1 Comment
Walter Roberson
Walter Roberson on 3 Oct 2021
The volunteers who answer questions here do not have access to the license database. You will need to contact Mathworks Support for free installation assistance.

Sign in to comment.


Veronica Ghambuna
Veronica Ghambuna on 6 Nov 2021
62b54bc2
1 Comment
Walter Roberson
Walter Roberson on 6 Nov 2021
That is not a MAC (Media Access Control) identifier: that is probably a disk serial number.
The volunteers who answer questions here do not have access to the license database, so we are not able to do anything with that information.

Sign in to comment.


Oliver Zhou
Oliver Zhou on 12 Nov 2021
Hi,
I am running a virtual macOS machine using the Macinabox container on Unraid. When I try to activate MATLAB, it gives me "Error 1,714. Unable to activate your machine. This activation process cannot detect a valid Hist ID which utilizes a currently supported naming convention. Please refer to the following solution ID to help resolve the issue 1-661QJD".
When I use ifconfig to see the Host ID of the VM, it gives me a valid en0 MAC address. However, if I try to let MATLAB detect the Host ID (using the offline install "I do not have a license file" option), it says that the Host ID of the VM is just 0. I also tried manually downloading a license file from Mathworks with the MAC address I got from ifconfig, but then MATLAB says that the license file is for a different computer.
I think I'm unable to activate MATLAB because it is failing to detect the MAC address of my VM, even though I think I have a valid one...
Any advice would be greatly appreciated, thanks!

LI LU
LI LU on 18 Jan 2022
In order to activate my license, I must provide a Host ID. What is a Host ID and how do I find it on my computer
1 Comment
Walter Roberson
Walter Roberson on 18 Jan 2022
"A Host ID is a a specific piece of information which uniquely identifies a computer. Host IDs are used to generate MATLAB license files, which are machine-specific. Most of the time, the host ID is the lowest-enumerated MAC address of the computer."
To obtain the MAC address, open a Windows command prompt and run the following command:
getmac
If this produces multiple MAC addresses, use the one at the top of the list.

Sign in to comment.


kommu suresh
kommu suresh on 20 Jan 2022
What is a Host ID and how do I find it on my computer
2 Comments
Samuel Gray
Samuel Gray on 28 Oct 2022
Edited:Samuel Gray on 28 Oct 2022
..."a Windows command prompt", you say. Well.
For Ubuntu 22 it's in the network configuration settings/hardware address.
two things that could be added to the trial registration process notes.
1 the trial license will only work with the version of matlab shown in the trial download window (i.e. r2022)
2 the license has to be activated before it will appear in the license list and then it can be used to register the above version of Matlab.
3 I see no way to get a 30 day trial of a specific version other than the latest version. Can a trial of an older version be installed on the same trial license as the latest version trial after said latest version has been installed?

Sign in to comment.


Giusy
Giusy on 1 Apr 2022
Ciao,
to activate a license file I put my hostid obtained by getmac command. I set MLM_LICENSE_FILE to license file path but when Matlab starts I receveid the following error message:


Kutloano
Kutloano on 18 Apr 2023 at 9:19
A Host ID is a a specific piece of information which uniquely identifies a computer. Host IDs are used to generate MATLAB license files, which are machine-specific. Most of the time, the host ID is the lowest-enumerated MAC address of the computer. However, there is an exceptions to this:
  • 与一个单独的许可在Windows机器上,the Volume Serial Number of the C: drive can be used as the host ID.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!

Translated by