The host name can be reached by:
if ispcmachinename = getenv('COMPUTERNAME');elsemachinename = getenv('HOSTNAME');end
just another blog. here you'll find my experiences with Matlab/Simulink, vba, LaTeX and Mac OS X.
if ispcmachinename = getenv('COMPUTERNAME');elsemachinename = getenv('HOSTNAME');end
warning('Battery:SOC','this is not logical - Warning')
warning off Battery:SOCAs simple as that, you won't see the warnings anymore and you don't need to change your code.