thetalist = [0;0;0;0;0;pi/2;0;0;0]; load('permutationMatrix.mat') load('pib_MLS.mat') calculateGravityModel_mex(thetalist,permutationMatrix,pib_MLS)