Hi Johan,
In one hand Mosek has a C/C++ API, and in the other hand C/C++ functions can be called in Octave using Oct-File. Therefore, it is easy to use Mosek as a solver in Octave. In fact, Oct-File is a C source file and is compiled the same way as any other C file.
However, working with Mosek APIs (C/Matlab/Python/...) is hard and that is why I would like to interface Octave with Yalmip, and then interface Yalmip with Mosek. Would you please let me know if Yalmip has a C/C++ API?