bump allowed versions since libiio-0.3 is out

master
Tim Harder 2015-01-29 18:28:19 -05:00
parent ae81c94bf0
commit dc82886255
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ classdef libiio_if < handle
if(pMajor.Value == 0 && pMinor.Value < 1)
err_msg = 'The libiio version running on the device is outdated! Run the adi_update_tools.sh script to get libiio up to date.';
return;
elseif(pMajor.Value > 0 || pMinor.Value > 2)
elseif(pMajor.Value > 0 || pMinor.Value > 3)
err_msg = sprintf('The Simulink system object is outdated! Download the latest version from the Analog Devices github repository.\n\n%s\n', ...
remote_version_str);
return;
@ -120,7 +120,7 @@ classdef libiio_if < handle
if(pMajor.Value == 0 && pMinor.Value < 2)
err_msg = 'The libiio dll is outdated! Reinstall the dll using the latest installer from the Analog Devices wiki.';
return;
elseif(pMajor.Value > 0 || pMinor.Value > 2)
elseif(pMajor.Value > 0 || pMinor.Value > 3)
err_msg = sprintf('The Simulink system object is outdated! Download the latest version from the Analog Devices github repository.\n\n%s\n', ...
local_version_str);
return;