Skip to content

wnowicki/matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Matlab Helpers

by Wojciech Nowicki

Email

Configuration

% Email Configuration
config.emailSender    = '';
config.emailServer    = '';
config.emailPort      = '';
config.emailUser      = '';
config.emailPassword  = '';

% Administrator Email Address
config.emailAddress   = '';

Example

Email will be sent to address defined in configuration.

Email.notify(['Process finished in ' num2str(time/60) ' minutes.'], 'Process finished! And the rest of a message...');

Logger

Matlab implementation of RFC 5424 eight levels of messages.

Configuration

  • By default Logger will be logging into log.txt in current folder.
  • To change file just put this in configuration:
% Path to log file [OPTIONAL]
config.logPath = 'aaa.txt';

Example

Logger.notice('Started: Primitive Equation Builder');
Logger.error('Error in ...');

Series

Slab

Slab Collection

Releases

No releases published

Packages

No packages published

Languages