Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Dynare
dseries
Commits
e3062463
Commit
e3062463
authored
Nov 27, 2015
by
Stéphane Adjemian (Charybdis)
Committed by
Stéphane Adjemian (Hermes)
Feb 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added warning.
We do not support XLS files with Octave. Users should use XLSX instead.
parent
7bc78435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/read/load_xls_file_data.m
src/read/load_xls_file_data.m
+7
-1
No files found.
src/read/load_xls_file_data.m
View file @
e3062463
...
...
@@ -70,10 +70,16 @@ if ~(check_file_extension(file,'xls') || check_file_extension(file,'xlsx'))
end
end
%
load excel fi
le.
%
Check if io package is instal
le
d
.
if
isoctave
&&
~
user_has_octave_forge_package
(
'io'
)
error
(
'The io package is required to read XLS/XLSX files from Octave'
)
end
% Do not support XLS with octave.
if
isoctave
&&
isequal
(
get_file_extension
(
file
),
'xls'
)
warning
(
'XLS files not supported with Octave! Please use XLSX instead.'
)
end
[
num
,
txt
,
raw
]
=
xlsread
(
file
,
sheet
,
range
);
% Get dimensions of num, txt and raw
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment