How Can I convert m- file or any command in Matlab to "C language" or "C++ language"??

Dear Sir,
I would like to know "How can I convert m-file to C- file (language) or C++ (language) file?? From another side, I would like to know "How can I convert the commands (functions) from Computer Vision toolbox (in Matlab) such as "Vision.Videoplayer", "Vision. ForegroundDetector", "ConfigureKalmanFilter", "Vision.KalmanFilter", " Vision.VideoFileReader" and so on to C language or C++ language?
Thank you very much
Have Great and Fantastic Day

Answers (1)

5 Comments

Note, though, that standard C and C++ have no graphics or video capacities, so you may not be able to compile them. You might, however, be able to compile them for specific target devices, especially if you are using Simulink.
Dear Walter,
Thank you very much on your replying....
I would like to tell me "What are specific target devices that I can use them for compiling the graphics or video capacities??"
Thank you very much
Have Great and Fantastic Day
shows that not much of Computer Vision is supported. However, there is another list that needs to be taken into consideration:
which includes Vision.DeployableVideoPlayer which is able to generate C code (and the regular video player is not able to generate C code). However,
This object only works on Windows platforms
So it appears you can get video output on MS Windows systems -- it must generate C calls into MS Windows video facilities. This would not be usable for generating video for a DSP or embedded system.
Dear Walter,
Thank you very much on your interesting....
I would like to know "What do you mean with " This would not be usable for generating video for a DSP"??"
Thank you very much on your reply
Have Great and Fantastic Day
Vision.DeployableVideoPlayer generates MS Windows-specific code. It cannot be used to create code for other systems such as embedded systems (such as a refrigerator with a display, such as LG makes), and it cannot be used to create code for DSP (Digital Signal Processor) or any other system. Only for MS Windows running Intel-type processors.

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 6 Mar 2013

Community Treasure Hunt

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

Start Hunting!