[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strtok help
From: |
Jaroslav Hajek |
Subject: |
Re: strtok help |
Date: |
Fri, 3 Sep 2010 12:50:24 +0200 |
On Thu, Sep 2, 2010 at 5:54 PM, dirac <address@hidden> wrote:
>
> Hi everyone,
>
> I have a filename that I would like to make the title of a graph. The
> problem is is that the filename contains underscores and when typing
> "title([num2str(filename)])" I get the title but there are subscripts due to
> the underscores.
>
> example filename: CILR0021A_B8C11_325_HP_2to40mA_MA_2.dat
>
> I was wondering if splitting the filename up using the STRTOK function would
> be useful?
> If this makes sense I'd really appreciate suggestions :)
>
> Thanks
> Martin
>
use
title (filename, "interpreter", "none")
to disable the TeX interpreting.
hth
--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz