.exe to matlab

Discussion in 'Programmer's Corner' started by tojeena, Nov 11, 2011.

  1. tojeena

    Thread Starter Active Member

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

    Administrator

    Apr 5, 2008
    15,647
    2,346
    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
     
  3. MrChips

    Moderator

    Oct 2, 2009
    12,440
    3,360
    The simple answer is no.
     
  4. tojeena

    Thread Starter Active Member

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

    Moderator

    Oct 2, 2009
    12,440
    3,360
    It cannot be done.
     
  6. bertus

    Administrator

    Apr 5, 2008
    15,647
    2,346
    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
     
  7. samin

    Member

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

    Code ( (Unknown Language)):
    1. system('Your.EXE')
     
  8. tojeena

    Thread Starter Active Member

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

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    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.
     
  10. Papabravo

    Expert

    Feb 24, 2006
    10,140
    1,789
    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.
     
  11. MrChips

    Moderator

    Oct 2, 2009
    12,440
    3,360

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

    Expert

    Feb 24, 2006
    10,140
    1,789
    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: Nov 13, 2011
Loading...