Make library, use it on vb6, video processing.

2 views (last 30 days)
Hi. i want to build a software , it can traking car using optical flow estimation. i have been success with "m file" in matlab 2010b and using deploytool to make com component, setup MCR. When i add reference in vb6, it's ok, but vb6 can'n know some code in "m file",ex : video.ImageDataTypeConverter. I dont know how to fix this problem. help me please.
  4 Comments
Jason Tran
Jason Tran on 25 Jul 2011
Thanks for comment.
Error is "undefined function or variable....at line..."
Vb6 can't know function "type=video.ImageDataTypeConverter".
I think we must add some libarry to vb6. I have been add "MWcomutill7.14.dll ", it is matlab compiler runtime.
Why the vb6 did'n work with this funtions ?.
Jason Tran
Jason Tran on 25 Jul 2011
Thanks. but "include" not define in vb6.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 25 Jul 2011
One possible way:
Instead of attempting to access the video class directly, call MATLAB functions that do the necessary work for you.
  5 Comments
Walter Roberson
Walter Roberson on 25 Jul 2011
vb6 does not appear to be a supported compiler for R2010b -- and that might be why you are having the difficulty. See http://www.mathworks.com/support/compilers/R2010b/index.html for the list of supported compilers for the 32 bit version (there is a link on that page for 64 bit compilers: note that 64 bit compilers require that one install additional software.)
Jason Tran
Jason Tran on 26 Jul 2011
Following the information in "help" option, i see com component support on vb ( may be not vb6 version)
Conclusion : vb6 does not support for compiling.
I will try use vb2008 to rebuild software. if i have difficult I hope i will recieve your help.
Thank you very much.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!