Skip to content
Xiang Zhu edited this page Feb 27, 2017 · 3 revisions

This page describes how to install the MATLAB scripts that implement the variational Bayes (VB) algorithms to fit the RSS models.

The installation is completed by simply running install.m.

The output may look like this:

>> run install.m
Building with 'gcc'.
MEX completed successfully.
Compilation of MEX files is complete.

After successfully running install.m, you will find a file rss_varbvsr_update_matlab.mexa64 (in Linux), which is actually the workhorse here.

If you have trouble installing these scripts, please open an issue and tell us the details of your compiling environment.

MEX files in MATLAB

The tricky part of installing rss/src_vb/rss_varbvsr.m is to compile MEX files in MATLAB.

Before running install.m, please make sure that you have the compiler that is compatible with your version of MATLAB, and that you can compile the MEX files in the tutorials given on the MathWorks website.

For more information: