Remote Desktop open MATLAB will complain, the solution is to open the path matlab licenses, such as matlab/R2017b/licenses/
, there license file path, such as license_standalone.lic
(possibly other names), open the file, add the following line at each location TS_OK
.
The number of rows more, by performing the following python
automatically add the script, note that the first backup before performing
license_path = './license_standalone.lic'
with open(license_path, 'r') as fr:
lines = fr.readlines()
with open(license_path, 'w') as fw:
for i, line in enumerate(lines):
if (line[-2] == '\\'):
continue
lines[i] = line[:-2] + ' TS_OK\n'
fw.writelines(lines)
Remote start and then you can succeed.