Commit 06ab787f authored by Stéphane Adjemian's avatar Stéphane Adjemian

Cosmetic changes.

parent b4195c67
......@@ -25,13 +25,13 @@ function [init, data, varlist, tex, ops, tags] = load_data(filename)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if ~nargin || ~ischar(filename) || isempty(filename)
error('dseries:load_data: WrongInputArguments', 'Input argument cannot be an empty string!')
error('dseries:load_data: Input argument cannot be an empty string!')
elseif check_file_extension(filename,'m')
[freq, init, data, varlist, tex, ops, tags] = load_m_file_data(filename);
[~, init, data, varlist, tex, ops, tags] = load_m_file_data(filename);
elseif check_file_extension(filename,'mat')
[freq, init, data, varlist, tex, ops, tags] = load_mat_file_data(filename);
[~, init, data, varlist, tex, ops, tags] = load_mat_file_data(filename);
elseif check_file_extension(filename,'csv')
[freq, init, data, varlist] = load_csv_file_data(filename);
[~, init, data, varlist] = load_csv_file_data(filename);
tex = [];
ops = cell(length(varlist), 1);
tags = struct();
......@@ -46,7 +46,7 @@ elseif check_file_extension(filename,'xls') || check_file_extension(filename,'xl
range = [];
sheet = [];
end
[freq, init, data, varlist] = load_xls_file_data(filename, sheet, range);
[~, init, data, varlist] = load_xls_file_data(filename, sheet, range);
tex = [];
ops = cell(length(varlist), 1);
tags = struct();
......
Markdown is supported
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