Compile your GUI into a M-Shared Dll using the Matlab Addin
for Visual C++.
Then in your C/C++ projects,you can initial the dll and call it.
But, as far as i know,this method does not work in any case, it just suit for some special case.
You must pay more attention to the calling formats ...