Old MATLAB license which was deactivated is detected on startup
    5 views (last 30 days)
  
       Show older comments
    
I deactivated an old license for my user login recently, and enabled a new one. When I launch MATLAB from the MATLAB app, or from Model Composer 2020.2, the old one is detected. 
Despite trying to download the license and manually installing it as suggested in other answers (shown below), the old one is still detected. Please help!

4 Comments
  Cy Haukdal
 on 1 Dec 2022
				
      Edited: Cy Haukdal
 on 1 Dec 2022
  
			Try using the -c argument of the startup command with the path to the desired license file:
In CMD:
matlab -c "<path to license file>"
with the path being something like:
c:\program files\matlab\r2022b\licenses\network.lic
You could package this into a shortcut as well.
Also worth checking that there arent licenses superseding your desired license:
  James
      
 on 10 Dec 2022
				Just manually remove the old license file. If it’s an actual file, it can only be in 1 of 2 places. What Operating System are you on so I can let you know what the 2 paths are?
Answers (0)
See Also
Categories
				Find more on Install Products in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


