From 1259d4a603812504d1dc6edb2cc8a30608d7e012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 9 Jan 2012 12:15:43 +0100 Subject: [PATCH] Fix crash on older MATLAB introduced in previous commit --- matlab/user_has_matlab_license.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/user_has_matlab_license.m b/matlab/user_has_matlab_license.m index 3caf35002..3afa2b455 100644 --- a/matlab/user_has_matlab_license.m +++ b/matlab/user_has_matlab_license.m @@ -31,6 +31,6 @@ function [hasLicense] = user_has_matlab_license(toolbox) if matlab_ver_less_than('7.12') hasLicense = license('test', toolbox); else - [hasLicense ~] = license('checkout',toolbox); + [hasLicense junk] = license('checkout',toolbox); end end