Skip to content

Commit fca7060

Browse files
authored
Update deprecated syntax in README.md
1 parent fd05c3e commit fca7060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ end
205205
write_matfile("test.mat";
206206
a = Int32[1 2 3; 4 5 6],
207207
b = [1.2, 3.4, 5.6, 7.8],
208-
c = {[0., 1.], [1., 2.], [1., 2., 3.]},
209-
d = {"name"=>"MATLAB", "score"=>100.},
208+
c = [[0.0, 1.0], [1.0, 2.0], [1.0, 2.0, 3.0]],
209+
d = Dict("name"=>"MATLAB", "score"=>100.0),
210210
s = "abcde",
211211
ss = [S(1.0, true, [1., 2.]), S(2.0, false, [3., 4.])] )
212212
```

0 commit comments

Comments
 (0)