# .exe to matlab

#### tojeena

Joined May 2, 2009
118
I want to know whether an .exe file can be converted to matlab code ?

#### bertus

Joined Apr 5, 2008
19,944
Hello,

An .exe file is most times a compiled for a specific processor.
You will need to know for what processor the file is made.
If you know that you can "decompile" it using a dissasembler to assembly language.

Bertus

#### MrChips

Joined Oct 2, 2009
19,159
I want to know whether an .exe file can be converted to matlab code ?

#### tojeena

Joined May 2, 2009
118
How will i extract the source code from the .exe file

#### MrChips

Joined Oct 2, 2009
19,159
How will i extract the source code from the .exe file
It cannot be done.

#### bertus

Joined Apr 5, 2008
19,944
Hello,

It will be VERY difficult to revive the source code from an .exe file.
It all depends on the type of processor and if there are other files used by this .exe file.
The best you will gat is a large assembly listing.

Bertus

#### samin

Joined Oct 14, 2011
32
Try using the function SYSTEM.

Rich (BB code):
system('Your.EXE')

#### tojeena

Joined May 2, 2009
118
I didnt understand what u have meant.I have to get matlab code fro this attached file.. Please help me..

#### Attachments

• 4.1 MB Views: 27

#### kubeek

Joined Sep 20, 2005
5,587
If you like stepping through tens of thousands of lines of assembler, then disassemble it.
Otherwise you are more likely to find the author and make him send you the source files than to disassemble it to anythig useful.

#### Papabravo

Joined Feb 24, 2006
12,301
Then he will need a program to convert the original source to Matlab. Listen very carefully -- you are the only person on the planet who has the time, patience, and motivation to do the job manually for this one-off project. Further you are the only person on the plant who has the capability to write the piece of software you are requesting. Time is a-wasting so you better get started.

#### MrChips

Joined Oct 2, 2009
19,159
Then he will need a program to convert the original source to Matlab. Listen very carefully -- you are the only person on the planet who has the time, patience, and motivation to do the job manually for this one-off project. Further you are the only person on the plant who has the capability to write the piece of software you are requesting. Time is a-wasting so you better get started.

Hee, hee. OP has deaf ears. My answer was "no" back at post #3.

#### Papabravo

Joined Feb 24, 2006
12,301
Did "NO" -- even "Hell No!" ever stop the HHO or free energy crowd. Every field of human endeavor has its myth chasers. Here is yet another "tinaja"

http://www.tinaja.com/

Note particularly the exciting field of Magic Sinewaves.

Last edited: