help-octave
[Top][All Lists]
Advanced

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

Re: Problems running files .m in linux SUSE


From: Ana Mónica Lourenço
Subject: Re: Problems running files .m in linux SUSE
Date: Mon, 5 Sep 2011 00:00:25 -0400

Hi Jordi,
I use gmail to respond. Do you know how can i do that? I tried to change but i couldn't find how to do that.
I already resolved my problem. The problem was in the path.
Thanks, Monica

No dia 4 de Setembro de 2011 20:16, Jordi Gutiérrez Hermoso <address@hidden> escreveu:
Try to avoid top-posting if possible. It hinders reading the
conversation later in archives and people who may be following along
will miss context. I personally prefer
trim-posting, but other posting styles are also possible:

   http://en.wikipedia.org/wiki/Top_posting#Placement_of_replies

2011/9/4 Ana Mónica Lourenço <address@hidden>:
> No dia 4 de Setembro de 2011 18:26, Jordi Gutiérrez Hermoso
> <address@hidden> escreveu:
>>
>> 2011/9/2 Ana Mónica Lourenço <address@hidden>:
>>
>>
>> >
>> > No dia 2 de Setembro de 2011 18:20, Jordi Gutiérrez Hermoso
>> > <address@hidden> escreveu:
>> >>
>> >> 2011/9/2 Ana Mónica Lourenço <address@hidden>:
>> >>
>> >> > I am trying to run a file .m in octave. My system is a linux
>> >> > SUSE. I am receiving this output:
>> >> >
>> >> >
>> >> >     octave:1> ls
>> >> >     bin  Documents  octave  octave-core  public_html
>> >> >     Script_regularization.m
>> >> >     octave:2> -q Script_regularization.m
>> >>
>> >> Either from bash run
>> >>
>> >>     $ octave -q Script_regularization..m
>> >>
>> >> or inside Octave run
>> >>
>> >>     octave:1> Script_regularization ##Note that there is no .m
>> >> extension
>> >>
>> > Thanks for your reply. I don't know why but when i tried to do
>> > that i received this output:
>> >
>> >   octave:2> Script_regularization
>> >   error: no such file, `/home/monica/Script_regularization.m'
>> >   octave:2> pwd
>> >   ans = /home/monica
>> >   octave:3> ls
>> >   bin  Documents  octave  octave-core  public_html
>> >   Script_regularization.m
>> >   octave:4>
>> >
>> > As you can see i have the file in the same directory. I really
>> > appreciate
>> > your response.
>>
>> This is very strange. What's in that file? What should it do?

> The file will create a lot of txt files. I tested this program in
> another octave (on my laptop) an it worked. I really don't know what
> is the problem and I am new in this things. What do you think that
> is the best way to resolve this problem?

I have no idea what could be happening, but, to quote a famous
fictional detective, "data, data, data! I cannot make bricks without
clay!"

Can you show me what's inside that file you're trying to execute? Do
these commands work instead? Execute them from Octave.

   run Script_regularization.m
   source Script_regularization.m

- Jordi G. H.


reply via email to

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