Fix crash on older MATLAB introduced in previous commit
parent
dcaed91f66
commit
1259d4a603
|
@ -31,6 +31,6 @@ function [hasLicense] = user_has_matlab_license(toolbox)
|
||||||
if matlab_ver_less_than('7.12')
|
if matlab_ver_less_than('7.12')
|
||||||
hasLicense = license('test', toolbox);
|
hasLicense = license('test', toolbox);
|
||||||
else
|
else
|
||||||
[hasLicense ~] = license('checkout',toolbox);
|
[hasLicense junk] = license('checkout',toolbox);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue