bmsherman/haskell-matlab

Ship utility .m files

Opened this issue · 0 comments

Related: #14

Due to my lack of knowing a way to create functions without files (other than anonymous functions - i.e., the severely crippled lambda-like construct available in MATLAB), I'm thinking it may be useful to have some MATLAB functions available to haskell-matlab's Engine API. Perhaps these could be stored in a tmp dir using System.IO.TMP.

These could be put in e.g. something like /tmp/haskell-matlab-<ReleaseID>, where ReleaseID could either be an actual release or the commit; if the directory is detected upon engine initialization, the files won't need to be created.