필터 지우기
필터 지우기

how to convert a matlab file to a C++ file?

조회 수: 1 (최근 30일)
MoonPie1
MoonPie1 2017년 8월 11일
답변: Vidip 2023년 12월 20일
How to convert the .m file to .cpp file? The .m file contains inbuilt functions from Image processing toolbox like imsharpen, imshow, multithresh.

답변 (1개)

Vidip
Vidip 2023년 12월 20일
I understand that you want to convert the .m file to .cpp file and the .m file consists of inbuilt functions from Image processing toolbox, so for this you can use MATLAB Coder.
Some Image Processing Toolbox™ functions enable you to generate standalone C code, C code that depends on a precompiled, platform-specific shared library, or both. You can check the list of Image Processing Toolbox functions that support code generation - https://in.mathworks.com/help/images/referencelist.html?type=function&capability=codegen
In generated code, each supported toolbox function has the same name, arguments, and functionality as its Image Processing Toolbox counterpart. To use code generation with image processing functions, you can follow the steps mentioned in the below link - https://in.mathworks.com/help/images/code-generation-for-image-processing.html

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by