Matlab License Issue
Hi,
I am running into an error trying to connect ZOS-API with MATLAB. I am told by my organization that we have a license for ZOS-API, but when I connect I am getting a license error.
"MATLABZOSConnection
Found OpticStudio at:c:\program files\ansys zemax opticstudio 2024 r1.03
Error using MATLABZOSConnection>HandleError
License check failed!
Error in MATLABZOSConnection>InitConnection (line 67)
HandleError('License check failed!');
Error in MATLABZOSConnection (line 15)
TheApplication = InitConnection(instance);"
Any suggestions?
Answers
-
Hi @Phoo I am not sure how much we can help as this doesn't seem to be a scripting problem. However, it could be.
I would, however, first check exactly which license it is checking out and whether or not that is the up-to-date license your org has. Maybe the license is for a different zemax version?
0