mirror of
https://github.com/c-sooyoung/fold_slice.git
synced 2026-09-17 23:59:11 +09:00
initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
function [name] = get_host_name()
|
||||
%Return host name
|
||||
% Written by YJ for I/O
|
||||
if isunix()
|
||||
name = getenv('HOSTNAME');
|
||||
else
|
||||
name = getenv('hostname');
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user