generate file of user-supplied distribution table in MLife

Dear all

 Recently, I have use MLife to do some research on fatigue analysis for FOWT. But I have some questions to consult you.
 1.In my research, fatigue damage is calculated based on the wind-wave joint distribution  (joint probability distribution function is obtained in formula format),

I want to know how can get binary file which is used in MLife?
2.If I want to output the result of rainflow counting, what should I do?
I’ll be much appreciated to you if anyone help me!