It seems that the certification script provided with MLife is explicitly designed for Windows systems and may not be compatible with macOS, because the test failed, and in the Mlife folder, there are two new subfolders one literally named "CertTest\Results\Test01" and the other one "CertTest\Data". Both folders are empty.
But can I still use MLife for analysis by following the general instructions and guidelines provided in the user manual?
UPDATE: I changed all the ’ \ ’ in “mlife_certification_tests” to ’ / ’ and now the certification script is running, but there are new errors occurring:
Attempt to execute SCRIPT rainflow as a function: ../Source/rainflow/rainflow.m Error in [get_max_cycle_ranges]([line 65] cycles = rainflow(double(peaks), abs( double(ChanInfo(iCh).LMF)), double(ChanInfo(iCh).LUlt), double(UCMult) )';...
I checked the “rainflow.m” file, and there is only green texts with “%” sign everywhere, namely:
% RAINFLOW cycle counting. % RAINFLOW counting function allows you to extract % cycle from random loading. % % SYNTAX % rf = RAINFLOW(ext) % rf = RAINFLOW(ext, dt) % rf = RAINFLOW(ext, extt) % % OUTPUT % rf - rainflow cycles: matrix 3xn or 5xn dependend on input, % rf(1,:) Cycles amplitude, % rf(2,:) Cycles mean value, % rf(3,:) Number of cycles (0.5 or 1.0), % rf(4,:) Begining time (when input includes dt or extt data), % rf(5,:) Cycle period (when input includes dt or extt data), % % INPUT % ext - signal points, vector nx1, ONLY TURNING POINTS!, % dt - sampling time, positive number, when the turning points % spaced equally, % extt - signal time, vector nx1, exact time of occurrence of turning points. % % % See also SIG2EXT, RFHIST, RFMATRIX, RFPDF3D. % RAINFLOW % Copyright (c) 1999-2002 by Adam Nieslony, % MEX function.
Does anyone know how to fix the problem?