-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Schimel
committed
May 24, 2020
1 parent
1e20057
commit 3a05264
Showing
56 changed files
with
7,542 additions
and
1,066 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,37 @@ | ||
%% CFF_file_extension.m | ||
% | ||
% Get extension of file | ||
% | ||
%% Help | ||
% | ||
% *USE* | ||
% | ||
% CFF_file_extension(filename) returns the extension of filename. | ||
% | ||
% *INPUT VARIABLES* | ||
% | ||
% * |filename|: Required. String filename. | ||
% | ||
% *OUTPUT VARIABLES* | ||
% | ||
% * |ext|: String filename extension | ||
% | ||
% *DEVELOPMENT NOTES* | ||
% | ||
% *NEW FEATURES* | ||
% | ||
% * 2018-10-11: added header | ||
% * YYYY-MM-DD: first version. XXX | ||
% | ||
% *EXAMPLE* | ||
% | ||
% ext = CFF_file_extension('test.mat'); % returns 'mat' | ||
% | ||
% *AUTHOR, AFFILIATION & COPYRIGHT* | ||
% | ||
% Alexandre Schimel, Waikato University, Deakin University, NIWA. | ||
|
||
%% Function | ||
function ext = CFF_file_extension(filename) | ||
|
||
[~,~,ext] = fileparts(filename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
%% CFF_file_name.m | ||
% | ||
% Get name of file (without path or extension | ||
% | ||
%% Help | ||
% | ||
% *USE* | ||
% | ||
% CFF_file_extension(filename) returns the extension of filename. | ||
% | ||
% *INPUT VARIABLES* | ||
% | ||
% * |filename|: Required. String filename. | ||
% | ||
% *OUTPUT VARIABLES* | ||
% | ||
% * |ext|: String filename extension | ||
% | ||
% *DEVELOPMENT NOTES* | ||
% | ||
% *NEW FEATURES* | ||
% | ||
% * 2018-10-11: added header | ||
% * YYYY-MM-DD: first version. XXX | ||
% | ||
% *EXAMPLE* | ||
% | ||
% ext = CFF_file_extension('test.mat'); % returns 'mat' | ||
% | ||
% *AUTHOR, AFFILIATION & COPYRIGHT* | ||
% | ||
% Alexandre Schimel, Waikato University, Deakin University, NIWA. | ||
|
||
%% Function | ||
function name = CFF_file_name(filename) | ||
|
||
[~,name,~] = fileparts(filename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.