ym2_mcfload()

Read(576) Label: model, mcf file,

Description:

Read an mcf file as an mcf object.

Syntax:

ym2_mcfload(mcf)

Note:

External library function (See YModel User Reference).

 

The function reads an mcf file as an mcf object. It returns false if the reading fails.

Parameter:

mcf

mcf file object/mcf file name.

Return value:

mcf file object/false

Example:

 

A

1

=ym2_env("F:/ymodel")

2

=file("F:/ymodel/data/train.mcf")

3

=ym2_mcfload(A2)

4

=ym2_mcfload("F:/ymodel/data/train.mcf")

5

F:/ymodel/data/train.mcf

6

=ym2_mcfload(A5)

7

>ym2_close()