MATLink
MATLink copied to clipboard
Is rehash needed with MScript for MEX MEvaluate?
Check is rehash is needed on OS X to let MATLAB pick up MScripts created in /tmp/something
Check why this became necessary:
- is it the switch to
engEvalWithTrap? - is it because StartMATLink is run as
matlab -r StartMATLinkand something is not initialized?
Depends on #67 .
Do not use rehash until we're certain that MScript won't be called frequently and won't become a performance bottleneck. rehash is slow on OSX/Linux.
@szhorvat IIRC, rehash was added because changes to the path or added/modified scripts were not picked up in Windows. It was just easier to leave it in for all OSes... we should do more testing and have OS specific solutions for these.