Safe Haskell | None |
---|---|
Language | Haskell2010 |
Read and write MAT-format Matlab data files.
- data MATFile
- data MATMode
- matOpen :: FilePath -> MATMode -> IO MATFile
- matSet :: MATFile -> Bool -> String -> MXArray a -> IO ()
- matGet :: MATFile -> String -> IO (Maybe MAnyArray)
- matRemove :: MATFile -> String -> IO ()
- matList :: MATFile -> IO [String]
- matLoad :: FilePath -> IO [(String, MAnyArray)]
- matSave :: FilePath -> [(String, MXArray a)] -> IO ()
Documentation
:: MATFile | |
-> Bool | Global. If true, the variable will be written such that when the MATLAB LOAD command loads the variable, it will automatically place it in the global workspace. |
-> String | |
-> MXArray a | |
-> IO () |
Write array value with the specified name to the MAT-file, deleting any previously existing variable with that name in the MAT-file.
matGet :: MATFile -> String -> IO (Maybe MAnyArray) Source
Read the array value for the specified variable name from a MAT-file.
matRemove :: MATFile -> String -> IO () Source
Remove a variable with with the specified name from the MAT-file.