๐Ÿ“ฆ wnowicki / matlab

Matlab Helpers

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ Apache License 2.0
๐Ÿ“ฅ Clone https://github.com/wnowicki/matlab.git
HTTPS git clone https://github.com/wnowicki/matlab.git
SSH git clone git@github.com:wnowicki/matlab.git
CLI gh repo clone wnowicki/matlab
wnowicki wnowicki BugFix Series 74f49dc 10 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ lib
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

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