Skip to content

Commit 0ef725b

Browse files
committed
Fixed the README demo instructions.
- URL was matlabcontrol instead of matconsolectl - urlwrite has been deprecated in favor of websave
1 parent fc7cbd3 commit 0ef725b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ version = '4.4.2';
6060
tempdir = 'matconsolectl_demo';
6161
6262
% make a directory to copy the jar into
63-
mkdir tempdir;
63+
mkdir(tempdir);
6464
% download the jar
65-
URL = ['https://repo1.maven.org/maven2/com/diffplug/matsim/matlabcontrol/' version '/matlabcontrol-' version '.jar'];
65+
URL = ['https://repo1.maven.org/maven2/com/diffplug/matsim/matconsolectl/' version '/matconsolectl-' version '.jar'];
6666
filename = [tempdir '/matconsolectl-' version '.jar'];
67-
urlwrite(URL,filename);
67+
websave(filename,URL);
6868
% add it to the path
6969
javaaddpath([pwd '\' tempdir]);
7070

0 commit comments

Comments
 (0)