Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Save strings and numbers together
Replies: 4   Last Post: Mar 14, 2013 9:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Phil

Posts: 61
Registered: 12/8/08
Save strings and numbers together
Posted: Mar 13, 2013 6:40 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I have the following strings and number as separate variables. How can I save them together in one file, such as a .txt file?

Strings
'Test Point'
'speed_Engine_av'
'torque_Brake_av'
'power_Brake_av'

Numbers
1
2
3
4

I wish to save them so that the string and its corresponding number are on the same row i.e. Test Point 1, speed_Engine_av 2 etc

Thanks in advance,

Phil



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.