Error in executing emosqp

Hi,
I have performed code generation on MATLAB platform. But when I execute emospq(‘solve’), I am getting an error as:

Error using emosqp
Solve : wrong number of inputs / outputs.

Please advise on how to overcome it.

As documented here, the solve function returns 5 values. What happens if you execute instead:

[x, y, status_val, iter, run_time] = emosqp('solve');

Hi,

I have executed as [x, y, status_val, iter, run_time] = emosqp(‘solve’);

Executed without any errors.Thanks