Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
clear all; | |
close all; | |
do_save = true; | |
time_start = datestr(now, 'yymmdd_HHMMSS'); | |
if do_save == false; disp('-----------------------------------'); disp('----- Warning not saving data -----'); disp('-----------------------------------'); end | |
%% Start measurements |
This file contains hidden or 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
% Mark Harfouche | |
% Copyright 2016 | |
% New BSD License | |
function d = pwdcopy() | |
d = pwd(); | |
clipboard('copy', d); | |
end |
This file contains hidden or 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
doc=your_document_name | |
name=$(doc) | |
BUILD=build | |
FIGS_DIR=figs | |
TARGET=$(doc).pdf | |
TOPSOURCE=$(doc).tex |
This file contains hidden or 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
% To remove a Matlab trailing whitespace in the editor | |
% Original Author: Sam Roberts | |
% Improved by: Simone Gaiarin <[email protected]> | |
% http://stackoverflow.com/questions/19770347/how-to-auto-remove-trailing-whitespaces-on-save-in-matlab | |
% Modified by Mark Harfouche to remember cursor location | |
% | |
% | |
% Temp variable for shortcut. Give it an unusual name so it's unlikely to | |
% conflict with anything in the workspace. | |
shtcutwh__ = struct; |
NewerOlder