MATLAB Answers


Bit Plane En Coder

Asked by Elysi Cochin on 11 Jun 2013
Latest activity Edited by Walter Roberson
on 27 Dec 2013

I got the code for "Bit Plane Encoder" from the author's site

but it is written in C.... how can i run this code in matlab?? please can someone reply me with how to run that code in Matlab.. i'm using version 7.9 and WINDOWS... please do reply me.... it would be of great help to me....



No products are associated with this question.

2 Answers

Answer by Walter Roberson
on 11 Jun 2013
 Accepted answer

C code cannot be directly run in MATLAB. You can, though, compile the C code into a library and use loadlibrary() to make it available; or you can create a mex interface to the code and place calls to that.

I wonder if your real question is about how to recode that algorithm in MATLAB.


no sir i wanted to just run it in matlab and not recode it..... thank u sir... sir is there any link or reference how to create a mex interface to code and to place calls to that....

Answer by mahesh gour
on 27 Dec 2013
Edited by Walter Roberson
on 27 Dec 2013

can anyone tell me how to use BIT PLANE ENCODING code ?? I m not getting how to use it ??

its there on website

please anyone help me...

please answer soon....


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!