How to use osqp in Simulink with matlab version 2015b? #656
Replies: 4 comments 4 replies
-
Hi @DRETQ, it has been a while since I used OSQP with Simulink, and especially one that is that old. I had used it on Simulink 2017 I believe, and that was based on this branch I kept in a personal repository: https://github.com/imciner2/osqp-matlab/tree/im/simulink_cg. The main problem is the Simulink codegen system is highly dependent on the internals of Simulink, and so I am not entirely sure how portable this is between versions. I am planning to update this to be better supported for newer Matlab/Simulink versions, but can I ask what the reason for using 2015b is? |
Beta Was this translation helpful? Give feedback.
-
@imciner2 Thanks for your reply, the reason is that I need to design quadratic programming algorithms for a model written in matlab/simulink 2015b |
Beta Was this translation helpful? Give feedback.
-
@imciner2 Sorry to bother you again, but did you use the S-Function Builder module to call the existing c-code and implement it in simulink? |
Beta Was this translation helpful? Give feedback.
-
@imciner2 How did you package osqp into a library in the lower version matlab/simulink 2017, can it be done in the lower version 2015b? |
Beta Was this translation helpful? Give feedback.
-
I want to call osqp on Matlab/Simulink version 2015b, what is the best way to get it through compilation and generate C code?
Beta Was this translation helpful? Give feedback.
All reactions