Skip to content

Commit

Permalink
bindings/matlab: Prepare docs and config files for the upcoming release.
Browse files Browse the repository at this point in the history
Signed-off-by: AlexandraTrifan <[email protected]>
  • Loading branch information
AlexandraTrifan committed Jan 30, 2024
1 parent 9d2bd4f commit 8a71929
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions bindings/matlab/README.md
Original file line number Diff line number Diff line change
@@ -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) |
2 changes: 1 addition & 1 deletion bindings/matlab/build_installer.m
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
10 changes: 5 additions & 5 deletions bindings/matlab/deps.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/matlab/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Supply the following six elements in the order specified -->
<!-- (Required) Release of MATLAB. Not currently used but required -->
<!-- to parse the file -->
<matlabrelease>R2022a</matlabrelease>
<matlabrelease>R2023a</matlabrelease>
<!-- (Required) Title of toolbox. Appears in the Contents pane -->
<name>Analog Devices, Inc. libm2k Bindings</name>
<!-- (Required) Label for the toolbox. pick one: -->
Expand Down

0 comments on commit 8a71929

Please sign in to comment.