mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
modified importfile.m so headers so log files with headers can be loaded, fixed getPrecisionRecall.m for a "*=" error by MATLAB
This commit is contained in:
@@ -8,6 +8,10 @@ function [Data] = importfile(fileToRead1)
|
||||
% Import the file
|
||||
rawData1 = importdata(fileToRead1);
|
||||
|
||||
if isstruct(rawData1)
|
||||
rawData1=rawData1.data;
|
||||
end
|
||||
|
||||
% For some simple files (such as a CSV or JPEG files), IMPORTDATA might
|
||||
% return a simple array. If so, generate a structure so that the output
|
||||
% matches that from the Import Wizard.
|
||||
|
||||
Reference in New Issue
Block a user