From dc82886255f42793127ac0b943adb49766ed0420 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Thu, 29 Jan 2015 18:28:19 -0500 Subject: [PATCH] bump allowed versions since libiio-0.3 is out --- libiio_if.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libiio_if.m b/libiio_if.m index 264cc3b..a74a029 100644 --- a/libiio_if.m +++ b/libiio_if.m @@ -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;