Dear All,
In order to carry out fatigue analysis using MLife without MatLab I downloaded MLife archive and installed the MatLab Component Runtime and Microsoft Visual Studio 2010 run-time libraries. I wanted to do some tests with the CertTest provided in the archive, but with all of them I ended up with this error:
========================================
Error using sprintf
Function is not defined for ‘cell’ inputs.
Error in read_value/ReadLogical (line 153)
Error in read_value (line 60)
Error in read_settings (line 477)
Error in mlife (line 223)
MATLAB:printf:invalidInputType
It seems the error happens when it reads line 172 of the .mlif file. Does anyone faced this problem before?
Thank you by advance for your help.
Best regards,
Raphael ADAM
Dear Jonkman,
I am also faced with the previous problem what Rafael mentioned.
I am using mlife without Matlab.
I defined the source, source\rainflow and source\datatablepackage folders in Matlab search path. the data file from data folder (DLC2.3_1.out) moved to same directory with Test01.mlif.
I used this syntax to call mlife : MLife_win64.exe Test01.mlif
the error message is this:
Running MLife (v1.00.00f-gjh, 18-Oct-2012)
Error using sprintf
Function is not defined for ‘cell’ inputs.
Error in read_value/ReadLogical (line 153)
Error in read_value (line 60)
Error in read_settings (line 477)
Error in mlife (line 223)
MATLAB:printf:invalidInputType
thank you in advance for any help.
Best regards,
Tohid.
Dear Tohid,
Unfortunately I cannot reproduce your errors. I’ve 1) downloaded the MLife archive with the precompiled binaries ( [url]National Wind Technology Center's Information Portal | Wind Research | NREL ), 2) extracted the archive to a local folder. 3) Copied the contents of the Data folder into the CertTest folder, 4) Opened a command prompt window and changed the working directory to the CertTest folder, 5) Started the first certtest using the command: C:\Users\ghayman\Mlife-test\CertTest>…\Compiled\MLife_win64.exe Test01.mlif 6) This test runs fine, producing this output:
Running MLife (v1.00.00f-gjh, 18-Oct-2012)
Processing file “C:\Users\ghayman\Mlife-test\CertTest\DLC2.3_1.out”.
Reading “C:\Users\ghayman\Mlife-test\CertTest\DLC2.3_1.out” (1.409390 MB).
Rows=1201, Cols=135
Done reading
Generating statistics for “C:\Users\ghayman\Mlife-test\CertTest\DLC2.3_1.out”.
Writing summary statistics to: C:\Users\ghayman\Mlife-test\CertTest\RootFxc1_Statistics.txt
Writing summary statistics to: C:\Users\ghayman\Mlife-test\CertTest\RootFyc1_Statistics.txt
Writing summary statistics to: C:\Users\ghayman\Mlife-test\CertTest\RootFzc1_Statistics.txt
Writing summary statistics to:
C:\Users\ghayman\Mlife-test\CertTest\Test01_Summary_Statistics.xlsx
Performing fatigue-life analysis.
Done calculating fatigue-life results.
Analysis took 0.062670 seconds to complete.
Writing short-term damage equivalent load estimates to:
C:\Users\ghayman\Mlife-test\CertTest\Test01_Short-term_DELs.txt
Writing short-term damage-rate estimates to:
C:\Users\ghayman\Mlife-test\CertTest\Test01_Short-term_Damage_Rate.txt
MLife processing complete.
I do however have a licensed copy of MATLAB version R2014a and R2014b on my computer. I cannot test on a machine without an installed MATLAB at this time.
If others in the community have a machine using only the MCR shown on our NWTC/MLife website ([url]National Wind Technology Center's Information Portal | Wind Research | NREL), we would appreciate hearing from you.
Best Regards,
Greg Hayman
Dear Hayman,
Thank you for quick reply. I did this 6 step what you mentioned but the problem still remain. I already have used this procedure for Mcrunch. that works well.
BR,
Tohid.