Looks like I haven't added lpsolve to the solver which can be exported directly.
Alternatively, use
solvesdp(constraints,objective,sdpsettings('savedebug',1)
and a file mxlpsolvedebug will be created before lpsolve is called.
Alternatively, export to gurobi format or glpk format etc
export(x>=0,x,sdpsettings('solver','gurobi'),[],[],1)
The 1 in the end is a hack to allow export despite not having the solver installed