Rank: 2648 based on 17 downloads (last 30 days) and 1 file submitted
photo

Manuel Marin

E-mail

Personal Profile:
Professional Interests:
computer vision

 

Watch this Author's files

 

Files Posted by Manuel
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Sep 2007 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin computer name, operating system, hostname 17 13
  • 3.66667
3.7 | 9 ratings
Comments and Ratings on Manuel's Files View all
Updated File Comment by Comments Rating
13 Aug 2011 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin Nievinski, Felipe G.
30 Jul 2011 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin MathMoose

@Ken Why is strtrim better? Are you having problems with whitespace at the beginning of your hostname string?

26 May 2011 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin Noah
22 Apr 2011 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin Raeth, Peter

Many thanks to Manuel Marin for posting this information.

As an aside, things like this are only "trivial" to those who already know the answer.They are critical to those who are searching for answers.

A spark should never be put out. Rather, it should be fanned. Posters should be encouraged in their attempts to serve the community.

13 Apr 2011 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin Crema, Matthew

Helpful.

Maybe useful to put this at the end
hostname = hostname(hostname ~= 10);

to remove the newline character at the end of the string (on the one computer I've tested it on).

Top Tags Applied by Manuel
computer name, hostname, operating system
Files Tagged by Manuel
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Sep 2007 Get computer name/hostname It provides the computer name where running. Useful for customizing scripts depending on the machine Author: Manuel Marin computer name, operating system, hostname 17 13
  • 3.66667
3.7 | 9 ratings

Contact us at files@mathworks.com