slug
tags
password
icon
lang
date
category
type
status
summary
{/* truncate */}
Convert Matlab file to Julia
In this situation, you should use
MAT.jl
package to introduce Matlab variables into the Julia system.Preparation
Transfer table or dataset to cell, but it will cost extremely large storage and time. I think a double array is a better choice, and you can save the column names as a cell for convenience.
Import the variable
Construct dataframe
One-line import
Or you can construct the data frame with one line code
- Author:PENG Jiaxin
- URL:https://www.pengjiaxin.com/article/matfiletojulia
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!