[MATLAB] fixed non-creation of "logs/" directory
-The startLogging() function now creates the "logs/" directory if does not exist. This fixes a crash if this directory was missing.