diff checkAllCode.m @ 455:cd571e8ec1fd

Add function to run checkcode on all matlab files
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 12 May 2017 16:19:34 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/checkAllCode.m	Fri May 12 16:19:34 2017 +0200
@@ -0,0 +1,6 @@
+% Run matlabs checkcode on all files in current folder including subfolders
+function checkAllCode(d)
+    default_arg('d','')
+    files = findMfiles(d);
+    checkcode(files)
+end