• Stars
    star
    45
  • Rank 624,037 (Top 13 %)
  • Language
    C
  • License
    BSD 3-Clause "New...
  • Created over 13 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NOTE - Not working in Mojave and later versions! A Mac OS X quicklook generator for MATLAB .mat workspace files.

MATLAB quicklook and spotlight plugins for Mac OS X

Plugins to improve the interaction of MATLAB and Mac OS X. These plugins require Mac OS X 10.10 (Yosemite) or later.

Installation

After downloading and extracting the zip files from the Releases tab above, drag each of the plugins to the folder indicated. This will install the plugins for all users (you may need to enter the password for an administrator). If you lack administrator privileges or only wish to install for one user, follow the instructions below.

Place the matlab.qlgenerator file into /Library/QuickLook (for all users) or ~/Library/QuickLook (for the current user only).

The Mac should notice the plugin appearing and start using it automatically. If it doesn't seem to, try logging out and in again, or run Terminal.app and enter this command:

qlmanage -r

and press return.

Project compilation notes

Compliation of this code requires the MATLAB libmat.dylib library, and all its dependent libraries. As the current release of MATLAB only ships with 64-bit versions of these libraries, it only builds an x86_64 product.

The script JTPcollectDependencies.py can be run with a dylib as a target to collect all the dependent libraries into a specified location.

Some of the MATLAB libraries install paths are not prepended with @rpath, JTPfixDependencyIDs will fix this.

Dynamic libaries

  • libmat.dylib
  • libmx.dylib and dependencies.

Headers

  • mat.h
  • matrix.h
  • tmwtypes.h

Data files

  • lcdata.xml
  • icudt40l.dat

They can be located in the {matlab .app bundle}/bin/maci64/ folder. Put all the .dylibs into the dylibs/ folder in the project, and the header and data files into the projects root folder