Importing data Answered

Hi, 

I'd like to import a .txt (or .dat or .mat) file that contains a matrix with temperature values I calculate in MATLAB. I want to then use these temperature values to calculate temperature dependent properties. Can you please point me to the best command to use or way to import this matrix?

 

Thank you!

2 comments

  • Official comment

    Hi Rosa,

     

    Welcome to the forum! 

    You can import time dependent temperature data using data hist. Alternatively if you just want to import temperature data to use for calculations you can write the data into a txt file in MATLAB assigning a variable to each value of the matrix like so

    and then use symb #read to read in these variables into OnScale.

     

    I hope this helps!

    Best Regards,

    Chloe

    Comment actions Permalink
  • Hi Chloe,

    Thank you! This is extremely helpful. I tried using symb #read a bunch of times, but didn't realize the text file had to assign the variables.

    Thank you so much!

    Rosa

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post