diff --git a/bindings/matlab/README.md b/bindings/matlab/README.md index 939a9a13..269024eb 100644 --- a/bindings/matlab/README.md +++ b/bindings/matlab/README.md @@ -1,16 +1,16 @@ # libm2k-matlab-bindings -[![Generic badge](https://img.shields.io/badge/MATLAB-R2022b-BLUE.svg)](https://shields.io/) +[![Generic badge](https://img.shields.io/badge/MATLAB-R2023a-BLUE.svg)](https://shields.io/) MATLAB binding for the [libm2k](https://github.com/analogdevicesinc/libm2k) interface library. Documentation is available on [wiki.analog.com](https://wiki.analog.com/university/tools/m2k/matlab). The C++ API reference, which these bindings mirror, is available on [GitHub](https://analogdevicesinc.github.io/libm2k/index.html). ## Releases -Always install the latest release for your MATLAB version from the [releases page](https://github.com/analogdevicesinc/libm2k-matlab/releases/latest). +Always install the latest release for your MATLAB version from the [releases page](https://github.com/analogdevicesinc/libm2k/releases/latest). ### Latest Release | Operating System | MATLAB Release | Installer Package | |:-------:|:-------:|:-------------------:| -| Windows 10 | R2022b |[Matlab Add-On](https://uk.mathworks.com/matlabcentral/fileexchange/74385-libm2k-matlab?s_tid=srchtitle_libm2k_1)| -| Linux | R2022b | [Matlab Add-On](https://uk.mathworks.com/matlabcentral/fileexchange/74385-libm2k-matlab?s_tid=srchtitle_libm2k_1) | +| Windows 10 | R2023a |[Matlab Add-On](https://uk.mathworks.com/matlabcentral/fileexchange/74385-libm2k-matlab?s_tid=srchtitle_libm2k_1)| +| Linux | R2023a | [Matlab Add-On](https://uk.mathworks.com/matlabcentral/fileexchange/74385-libm2k-matlab?s_tid=srchtitle_libm2k_1) | diff --git a/bindings/matlab/build_installer.m b/bindings/matlab/build_installer.m index bbefb487..1b15c2df 100644 --- a/bindings/matlab/build_installer.m +++ b/bindings/matlab/build_installer.m @@ -1,6 +1,6 @@ function build_installer() -version = '22.2.1'; +version = '23.1.1'; ml = ver('MATLAB'); ml = ml.Release(2:end-1); arch = computer('arch'); diff --git a/bindings/matlab/deps.bat b/bindings/matlab/deps.bat index e65937bf..83a34715 100644 --- a/bindings/matlab/deps.bat +++ b/bindings/matlab/deps.bat @@ -3,13 +3,13 @@ set root=%cd% :: libiio mkdir deps -curl.exe --output libiio-win.zip --url https://github.com/analogdevicesinc/libiio/releases/download/v0.24/Windows-VS-2022-x64.zip -L +curl.exe --output libiio-win.zip --url https://github.com/analogdevicesinc/libiio/releases/download/v0.25/libiio-0.25-gb6028fd-windows.zip -L powershell -Command "Expand-Archive -Path libiio-win.zip -DestinationPath libiio" -powershell -Command "Get-ChildItem -Path libiio -Recurse -Filter *.dll | Copy-Item -Destination deps " -powershell -Command "Get-ChildItem -Path libiio -Recurse -Filter libiio.exp | Copy-Item -Destination deps " -powershell -Command "Get-ChildItem -Path libiio -Recurse -Filter libiio.lib | Copy-Item -Destination deps " +powershell -Command "Get-ChildItem -Path libiio/Windows-VS-2022-x64 -Recurse -Filter *.dll | Copy-Item -Destination deps " +powershell -Command "Get-ChildItem -Path libiio/Windows-VS-2022-x64 -Recurse -Filter libiio.exp | Copy-Item -Destination deps " +powershell -Command "Get-ChildItem -Path libiio/Windows-VS-2022-x64 -Recurse -Filter libiio.lib | Copy-Item -Destination deps " mkdir deps\include -powershell -Command "Get-ChildItem -Path libiio -Recurse -Filter iio.h | Copy-Item -Destination deps/include " +powershell -Command "Get-ChildItem -Path libiio/include -Recurse -Filter iio.h | Copy-Item -Destination deps/include " ::libm2k git clone -b v0.8.0 https://github.com/analogdevicesinc/libm2k.git diff --git a/bindings/matlab/info.xml b/bindings/matlab/info.xml index 9a720251..b06ae128 100644 --- a/bindings/matlab/info.xml +++ b/bindings/matlab/info.xml @@ -8,7 +8,7 @@ - R2022a + R2023a Analog Devices, Inc. libm2k Bindings