osqp / osqp-matlab

Matlab interface for OSQP
https://osqp.org/
Apache License 2.0
42 stars 25 forks source link

Quote mex_cfile path #41

Closed vineetbansal closed 3 years ago

vineetbansal commented 3 years ago

While exploring alternate ways to install OSQP Matlab on Linux, I observe that OSQP, when installed through 'add-on explorer' or through a .mlappinstall file, is installed by default at:

/home/vineetb/MATLAB Add-Ons/Collections/OSQP

i.e. at a location with spaces in its path. This causes codegen to fail. Quoting the path where mex_cfile is expected to be found solves the problem.

There are likely other places where quoting would solve similar issues, but this seems more important since this will typically be outside user control.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.