Main Content
simscape.logging.export
Save logged simulation data in MLDATX file
Description
simscape.logging.export(
saves
the simlog
,fileName
)simlog
object, containing logged simulation
data, for future use. You can use this function only for data logged
with the Stream data to temporary disk directory preference
turned on.
When you stream simulation data to disk, the data is stored as a simlog
object in a temporary file, and the workspace logging variable references the
simlog
object. The temporary file persists as long as there is a
logging variable in the workspace that references the file. This function lets you save the
simlog
object to a permanent file, specified by the
fileName
argument, in MLDATX format.