Results 1 to 20 of 20

Thread: .m file

  1. #1
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default .m file

    if a file end's wit (.m) extension, what is that mean & how to run it , it need ant library like c || c++..,
    Replay me anyone please..,
    Thank You..,

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    19,088
    Rep Power
    29

    Default Re: .m file

    Try opening the file in an editor and see what it contains.

    Why is this a java programming problem?

  3. #3
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    yes sir..,

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,311
    Blog Entries
    7
    Rep Power
    24

    Default Re: .m file

    The .m extension could be an Objective C file or a Matlab file or ... maybe Google can help you out.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  5. #5
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    Thank You Mr.Jos!

    And where shall i exactly download c/c++ compilers for the fallowing error

    .m file-error.jpg

    I am waiting for your replay please..,

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,311
    Blog Entries
    7
    Rep Power
    24

    Default Re: .m file

    From what I can see from that image (which isn't much), the code isn't C/C++ code ... first make sure what language that is and only then try to find a compiler for it.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  7. #7
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    Mr.Jos i attached that file sir.
    But i have changed the extension from steg.m into steg.txt

    this is an existing project, the java class call this file
    what can i do now


    (sorry sir! i am new for this forums is it right to attach the sample code here?..)

    Java Code:
    setVisible(false);
    			File fs=new File("test.txt");
    			if(fs.isFile())
    			{
    				Runtime r=Runtime.getRuntime();
    				try
    				{
    					Process p=r.exec("steg");                                                Here the function called..,
    					System.out.println("steg complete !");
    
    				}	
    				catch (Exception e1)
    				{
    					e1.printStackTrace();
    				}
    			}
    		
    			File fnew=new File("chest");
    			fnew.delete();
    Attached Files Attached Files

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,311
    Blog Entries
    7
    Rep Power
    24

    Default Re: .m file

    Quote Originally Posted by raj.mscking@gmail.com View Post
    Mr.Jos i attached that file sir.
    But i have changed the extension from steg.m into steg.txt

    this is an existing project, the java class call this file
    what can i do now


    (sorry sir! i am new for this forums is it right to attach the sample code here?..)
    I don't recognize the language of your steg.m file; where did you get it from? If it needs to be compiled you can't call its source file as you tried; if it is a scripting language you need its interpreter. I can't help you any further before I know the language of your file.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  9. #9
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,001
    Rep Power
    22

    Default Re: .m file

    raj.mscking@gmail.com, don't double post. The other thread you started with the same question has been closed.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  10. #10
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    ok Mr.Jos
    Thank you Sir!
    i got this sample code from "http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4801&lngWId=2"

    i wants to learn the basics of Technique..,

    before that i wants to know How that Technique it is working..,

    that's all Mr.Jos sir..,

  11. #11
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,311
    Blog Entries
    7
    Rep Power
    24

    Default Re: .m file

    Quote Originally Posted by raj.mscking@gmail.com View Post
    ok Mr.Jos
    Thank you Sir!
    i got this sample code from "http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4801&lngWId=2"

    i wants to learn the basics of Technique..,

    before that i wants to know How that Technique it is working..,

    that's all Mr.Jos sir..,
    I checked that link; the code is hardly commented; I did find (a picture of) an author 'Punit'; maybe you can check things out with him because for us it will only be an exercise in hacking.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  12. #12
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    Thank you sir!
    i try to learn that new technique, that's all..,
    one more Thank you Mr.JosAH for your help..,
    Have A Happy Day sir..,

  13. #13
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default (.m) METLAB with JAVA Code

    Good To Meet Yo All!
    I was asked something about (.m files) in my previous forums gentles,
    Now i found that was an METLAB functions (mathematical uses) which can call FROM java code,
    i found in Google it is possible with Netbeans or Dos prompt also,

    But!
    may i know where to download that Software(free version)

    - MATLAB R2010a (!)
    - MCR (MATLAB Compiler Runtime) v7.13 (!)

    and is it need to run with its own compiler?..,

    Any one can Help Me please..,

    i am waiting for your response sir,
    (especially Mr.JosAH sir)..,

    Thank you..,

  14. #14
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,001
    Rep Power
    22

    Default Re: .m file

    Don't keep starting new threads for a continuation of the same discussion. I've merged your post into the pre-existing thread for you, but that's only because I'm in a good mood.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  15. #15
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    Thank You Mr.DarrylBurke!
    sorry for my mistake!
    jest i need help from java circle that's all..,

  16. #16
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,311
    Blog Entries
    7
    Rep Power
    24

    Default Re: .m file

    Go here.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  17. #17
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    Thank you Mr.jos..,
    now i try for that..,

  18. #18
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    i tried to seek all that links to download MATLAB free version sir,
    But!
    only payable version is their..,

    i have that method code, jest i wants RUN TIME ENVIRONMENT to run those four methods..,

    is their any way to re-write that code in java?

    jest i have attached that four methods as txt files (.m into .txt)

    please anyone can help me with that code..,

    i am waiting..,
    Thank you having tendency to help me gentle..,
    Attached Files Attached Files

  19. #19
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,311
    Blog Entries
    7
    Rep Power
    24

    Default Re: .m file

    Quote Originally Posted by raj.mscking@gmail.com View Post
    i tried to seek all that links to download MATLAB free version sir,
    But!
    only payable version is their..,
    How strange; I included 'free' in the search string and for me it gives me free downloads for Matlab; b.t.w. this is not a code factory and we are not going to translate Matlab code to Java; you have to do your own work.

    kind regards,

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  20. #20
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is offline Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    312
    Blog Entries
    1
    Rep Power
    5

    Default Re: .m file

    Quote Originally Posted by JosAH View Post
    How strange; I included 'free' in the search string and for me it gives me free downloads for Matlab; b.t.w. this is not a code factory and we are not going to translate Matlab code to Java; you have to do your own work.

    kind regards,

    Jos
    Thanks Mr.JosAH sir..,

Similar Threads

  1. Replies: 1
    Last Post: 07-28-2011, 07:50 PM
  2. Replies: 6
    Last Post: 12-01-2010, 06:31 AM
  3. Replies: 0
    Last Post: 07-15-2010, 01:23 PM
  4. Replies: 8
    Last Post: 02-18-2010, 01:54 PM
  5. Replies: 0
    Last Post: 02-11-2009, 10:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •