Thread Subject: strings and quotes

Subject: strings and quotes

From: Jessica

Date: 6 May, 2008 23:36:03

Message: 1 of 3

Hi,

Is it possible to export strings without the quotes around
them. For example, I would like to export

'2002'

as

2002

Thanks,
Jessica

Subject: strings and quotes

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 6 May, 2008 23:58:10

Message: 2 of 3

In article <fvqq13$321$1@fred.mathworks.com>,
Jessica <jyorzinski@ucdavis.edu> wrote:

>Is it possible to export strings without the quotes around
>them. For example, I would like to export

>'2002'

>as

>2002

Export how?

I seem to recall that you were dealing with xlswrite() in some
earlier postings; the answer then would depend on whether you
are using the COM link or csv format.

If you are using dlmwrite() and want to output strings without
quotes, then you have to do it by changing -everything- to a string
first, putting in the delimeters "manually", and writing one string
per line.

--
  "All human knowledge takes the form of interpretation."
                                              -- Walter Benjamin

Subject: strings and quotes

From: Jessica

Date: 7 May, 2008 01:01:05

Message: 3 of 3

roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <fvqrai$5cs$1@canopus.cc.umanitoba.ca>...
> In article <fvqq13$321$1@fred.mathworks.com>,
> Jessica <jyorzinski@ucdavis.edu> wrote:
>
> >Is it possible to export strings without the quotes
around
> >them. For example, I would like to export
>
> >'2002'
>
> >as
>
> >2002
>
> Export how?
>
> I seem to recall that you were dealing with xlswrite() in
some
> earlier postings; the answer then would depend on whether
you
> are using the COM link or csv format.
>
> If you are using dlmwrite() and want to output strings
without
> quotes, then you have to do it by changing -everything-
to a string
> first, putting in the delimeters "manually", and writing
one string
> per line.
>
> --
> "All human knowledge takes the form of interpretation."
> -- Walter
Benjamin

Hi,

It would actually be sufficient for me to be able to open
up the place where the number is saved in the workspace and
just copy and paste it into an excel file.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com