You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
-[Fixed bug in ArrayUtils.equals when applied to arrays of long.](https://github.com/diffplug/matconsolectl/commit/088b954551392dc7b24142fd7f1cbcdc6a4005bf)
10
10
-[Fixed a serialization bug.](https://github.com/diffplug/matconsolectl/commit/d6bc07adca74f0bb3ae91c1009222eff6b975774)
11
11
- Broke up the test suite into `test`, `testMatlabHeadless`, and `testMatlabInteractive`
12
+
- Moved the demo code into the main library. It's a very small demo with no dependencies, makes life easier to manage one jar rather than two.
Javadoc links for [MatlabProxyFactoryOptions.Builder](http://diffplug.github.io/matconsolectl/javadoc/snapshot/matlabcontrol/MatlabProxyFactoryOptions.Builder.html) and [MatlabProxy](http://diffplug.github.io/matconsolectl/javadoc/snapshot/matlabcontrol/MatlabProxy.html).
51
+
48
52
Contributions are welcome, see the [contributing guide](CONTRIBUTING.md) for development info.
49
53
54
+
## Demo
55
+
56
+
MatConsoleCtl includes a demo GUI. Below is a script you can use to run the demo inside of MATLAB:
57
+
58
+
```matlab
59
+
version = '4.3.0';
60
+
tempdir = 'matconsolectl_demo';
61
+
62
+
% make a directory to copy the jar into
63
+
mkdir tempdir;
64
+
% download the jar
65
+
URL = ['https://repo1.maven.org/maven2/com/diffplug/matsim/matlabcontrol/' version '/matlabcontrol-' version '.jar'];
66
+
filename = [tempdir '/matconsolectl-' version '.jar'];
67
+
urlwrite(URL,filename);
68
+
% add it to the path
69
+
javaaddpath([pwd '\' tempdir]);
70
+
71
+
% run it
72
+
matlabcontrol.demo.DemoMain
73
+
```
74
+
75
+
You can also run the demo outside of MATLAB by downloading the jar, then running `java -jar matconsolectl-4.3.0.jar` at a console.
76
+
50
77
## Compatibility
51
78
52
79
MatConsoleCtl works on Win/Mac/Linux, MATLAB R2007b through R2015b, and it will continue to work so long as MATLAB maintains the Java MATLAB Interface.\*
0 commit comments