hello,
looking for an example of building COM (Components Object Model) under matlab for use by VB6.

You may be feeling very alone. VB6 showed up over 20 years ago and there are deep issues with it running on today's Windows 10.

I suggest you move up to Visual Basic that's out now along with your new Matlab so you can ask them for support. Otherwise my bet is it's you and Google.