Open InesSoares opened 8 years ago
Hi, i have the same problem. Do you have fixed it?
I have exactly the same problem. Did someone find a solution?
Hi, So what I did was change the startup file ("startup.m"). I put inside of the file the following code:
% This file is part of the project NILM-Eval (https://github.com/beckel/nilm-eval). % Licence: GPL 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) % Copyright: ETH Zurich, 2014 % Author: Romano Cicchetti
warning off MATLAB:dispatcher:nameConflict
addpath(genpath('algorithms')); addpath(genpath('config')); addpath(genpath('data_access')); addpath(genpath('framework')); % some conflict with 'legend' plotting function :( % addpath(genpath('lib/bnt')); addpath(genpath('lib/lightspeed')); addpath(genpath('lib/proxTV-1.0')); addpath(genpath('lib/spectralClustering')); addpath(genpath('lib/TVDIP')); addpath(genpath('lib/YAMLMatlab_0.4.3')); addpath(genpath('lib/bnt/BNT')); addpath(genpath('lib/bnt/graph')); addpath(genpath('lib/bnt/GraphViz')); addpath(genpath('lib/bnt/HMM')); addpath(genpath('lib/bnt/Kalman')); addpath(genpath('lib/bnt/KPMstats')); addpath(genpath('lib/bnt/KPMtools')); addpath(genpath('lib/bnt/nethelp3.3')); addpath(genpath('lib/bnt/netlab3.3')); addpath(genpath('lib/bnt/netlabKPM'));
addpath(genpath('plot')); addpath('projects/'); addpath('projects/buildsys/'); addpath('projects/buildsys/images/'); addpath('projects/buildsys/images/pie_chart/'); addpath(genpath('util')); addpath('data/'); addpath('experiments/'); addpath('input/'); addpath('lib/'); addpath('material/'); addpath('old/'); addpath('results/'); addpath('tools/');
set(0,'DefaultTextFontname', 'Times New Roman'); set(0,'DefaultTextFontSize', 9); set(0,'DefaultAxesFontName', 'Times New Roman'); set(0,'DefaultAxesFontSize', 9);
I still met the same thing after changed the startup.m how could I solve it?
Error in weiss (line 121) [signatureIDs, dist] = knnsearch(signatures(phases_of_signatures == phase, 1:2), event_vecs(:,1:2));
Error in nilm_eval (line 68) result = function_handle(evaluation_and_training_days, setup, fid);
Error in run_experiment (line 32) nilm_eval([experiment_folder, setup_file]);