Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

No tags are associated with this thread.

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.

Contact us