Old MATLAB license which was deactivated is detected on startup
1 次查看(过去 30 天)
显示 更早的评论
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1210993/image.png)
4 个评论
Cy Haukdal
2022-12-1
编辑:Cy Haukdal
2022-12-1
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:
Jestzer
2022-12-10
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?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!