Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Jun 12, 2021
1 parent ea6f2ce commit cca1107
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -2,11 +2,14 @@

clatlab is a bridge between [Matlab](https://de.mathworks.com/products/matlab.html) and [clij2](https://clij.github.io/clij2).

For scripting clatlab it's recommended to use [CLIJ2-assistant](https://clij.github.io/clij2-assistant)
and its matlab code generator.

![Image](images/clablab-screenshot.png)

## Installation
Download the following files, removed the numbers from their file endings and put them all in the `<HOME_DIR>/Documents/MATLAB folder:
* [clatlab-2.3.0.6-jar-with-dependencies.jar](https://github.com/clij/clatlab/releases/download/2.3.0.6/clatlab-2.3.0.6-jar-with-dependencies.jar)
* [clatlab-2.5.0.1-jar-with-dependencies.jar](https://github.com/clij/clatlab/releases/download/2.5.0.1/clatlab-2.5.0.1-jar-with-dependencies.jar)
* [init_clatlab.m](https://github.com/clij/clatlab/blob/master/src/main/matlab_install/init_clatlab.m)

Test the installation by executing this script from matlab:
Expand Down
18 changes: 12 additions & 6 deletions pom.xml
Expand Up @@ -7,23 +7,29 @@
<parent>
<groupId>net.haesleinhuepf</groupId>
<artifactId>clij-parent-pom</artifactId>
<version>2.3.0.6</version>
<version>2.5.0.1</version>
</parent>

<groupId>net.haesleinhuepf</groupId>
<artifactId>clatlab</artifactId>
<version>2.3.0.6</version>
<version>2.5.0.1</version>
<name>CLATLAB</name>
<description>CLIJ2 bridge to Matlab</description>

<dependencies>
<dependency>
<groupId>net.haesleinhuepf</groupId>
<artifactId>clij-core</artifactId>
</dependency>
<dependency>
<groupId>net.haesleinhuepf</groupId>
<artifactId>clij2_</artifactId>
<exclusions>
<exclusion> <!-- declare the exclusion here -->
<groupId>edu.mines</groupId>
<artifactId>mines-jtk</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.sbridges.object-inspector</groupId>
<artifactId>object-inspector</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion src/main/matlab_install/init_clatlab.m
Expand Up @@ -15,7 +15,7 @@

function clatlab_ = init_clatlab()
if (exist('net.haesleinhuepf.clatlab.CLATLAB') ~= 8)
jar_location = strrep(mfilename('fullpath'), 'init_clatlab', 'clatlab-2.3.0.6-jar-with-dependencies.jar');
jar_location = strrep(mfilename('fullpath'), 'init_clatlab', 'clatlab-2.5.0.1-jar-with-dependencies.jar');
javaaddpath(jar_location);
end
clatlab_ = net.haesleinhuepf.clatlab.CLATLAB.getInstance();
Expand Down

0 comments on commit cca1107

Please sign in to comment.