Hello Hanfeng,
Thanks for posting with a detailed description of the issue.
% NOTE: this manifold requires the use of a modified version of TTeMPS_1.1,
% which is packaged with Manopt and can be found in
% manopt/manopt/manifolds/ttfixedrank/TTeMPS_1.1
% It also uses some MEX files that you may need to compile by
% running install_mex.m in manopt/manopt/manifolds/ttfixedrank.
I recommend the following:
1) Run the script install_mex.m in that folder. This should compile the MEX files for your platform. That requires Matlab to have access to a C compiler: you can run "mex -setup" if necessary to install one.
2) We had to modify the toolbox TTeMPS a little bit (you can
see the changes here): it's best to
use that modified version of TTeMPS when using Manopt. It's packaged with Manopt, so the code is already there: just make sure it's on your Matlab path.
I hope this helps. Let us know if not.
Best,
Nicolas