diff options
author | leochanj <jbakita@cs.unc.edu> | 2020-10-21 01:52:54 -0400 |
---|---|---|
committer | leochanj <jbakita@cs.unc.edu> | 2020-10-21 01:52:54 -0400 |
commit | 25d94aa8aabb8ac3e8bbea0bc439ea6148444cc8 (patch) | |
tree | ba80e76d25d9ca9486092e2f6b6d76f0e3352bf7 /SD-VBS/common/matlab/readFile.m | |
parent | e2b50015cebdfba68699abd6e8575e38230f5a78 (diff) |
debug libextra and remove matlab
Diffstat (limited to 'SD-VBS/common/matlab/readFile.m')
-rw-r--r-- | SD-VBS/common/matlab/readFile.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/SD-VBS/common/matlab/readFile.m b/SD-VBS/common/matlab/readFile.m deleted file mode 100644 index 4888103..0000000 --- a/SD-VBS/common/matlab/readFile.m +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | function fid = readFile(path) | ||
2 | |||
3 | file = fopen(path, 'r'); | ||
4 | |||
5 | full = fscanf(file,'%f'); | ||
6 | elapsed = zeros(1,2); | ||
7 | |||
8 | rows = full(1); | ||
9 | cols = full(2); | ||
10 | fid = zeros(rows, cols); | ||
11 | |||
12 | k = 3; | ||
13 | for i=1:rows | ||
14 | for j =1:cols | ||
15 | fid(i,j) = full(k); | ||
16 | k = k+1; | ||
17 | end | ||
18 | end | ||
19 | fclose(file); | ||
20 | |||
21 | end | ||
22 | |||