From 86ee57876df6f85812ef28346787faabcbb4649e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Mon, 13 May 2013 16:27:37 +0200 Subject: [PATCH] Fixed bug when NAMES__ is not defined. --- matlab/load_m_file_data.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/matlab/load_m_file_data.m b/matlab/load_m_file_data.m index e461e8c450..30a5d44349 100644 --- a/matlab/load_m_file_data.m +++ b/matlab/load_m_file_data.m @@ -93,7 +93,11 @@ varlist = {}; if isempty(varlist0) for i=1:length(list_of_variables) - if isequal(list_of_variables(i).name,'freq') || isequal(list_of_variables(i).name,'time') || isequal(list_of_variables(i).name,'data') || isequal(list_of_variables(i).name,'varlist') + if isequal(list_of_variables(i).name,'freq') || isequal(list_of_variables(i).name,'time') || isequal(list_of_variables(i).name,'data') ... + || isequal(list_of_variables(i).name,'varlist') ... + || isequal(list_of_variables(i).name,'varlist0') ... + || isequal(list_of_variables(i).name,'list_of_variables') ... + || isequal(list_of_variables(i).name,'tex') ... continue end if list_of_variables(i).global || list_of_variables(i).persistent -- GitLab