Question about Compose

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Sorry if I put the topic in the wrong place but I can't find the forum for the compose although it's a component of solidThinking.

My question is: how to import the '.mat' file into compose? Is it possible? My existing '.mat' is more than 1Gb with a lot of data and structures.

Thank you guys!

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2017

    Hello Victor,

    Can you please try the load command to import the MAT file? Eg: load ('file.mat')

    Here's some more help on the syntax:

    load:

    Reads the content of a MAT file.

     

    Syntax:

     

    R = load(filename)

    R = load(filename, variable)

    load filename

     

    Inputs:

     

    filename

    Path and name of the MAT file to load.

    Type: string

    variable

    List of the variables to load, separated by a comma.

    If no variable is specified, all variables are loaded.

    Type: string

     

    Outputs:

     

    R

    Struct with values read from the file.

    Type: matrix