[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sourcing a generated file name

From: Juan Pablo Carbajal
Subject: Re: Sourcing a generated file name
Date: Tue, 24 Feb 2015 00:50:42 +0100

On Wed, Feb 18, 2015 at 7:03 PM, Sapp, Benjamin Abram <address@hidden> wrote:
> I am having trouble figuring out how to source a file name once it is in a
> string array.  For example, below I have the file name I am interested in
> and I cannot seem to figure how to execute the files contents.   Previously,
> I was able to execute ?FFE2?FF80?FF98source 
> ?FFE2?FF80?FF9C141201141018_0_1_100_12620246576.m?FFE2?FF80?FF9D?FFE2?FF80?FF99
> successfully.  Now I just want to store them in an array first so I 
> don?FFE2?FF80?FF99t
> have to have all the file contents in memory at the same time.
> octave:32> HitNames(:,1)
> ans = 141201141018_0_1_100_12620246576.m
> octave:33>
> Thanks,
> Ben.
> _______________________________________________
> Help-octave mailing list
> address@hidden

Hi Ben,

All functions that receive a first string argument can be used without
parenthesis, e.g.

help linspace

source myfunc.m

cd "/home/me"

These functions do have a standard signature as well, that is you can call them
x = "linspace"
x = "myfunc.m"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]