Commit 86ee5787 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug when NAMES__ is not defined.

parent ccaefc40
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment