|
From: | bharat pathak |
Subject: | Re: Working on M-files |
Date: | Mon, 22 Sep 2008 08:46:14 +0530 |
1. open octave.
2. go to your workarea using cd command,
example
>> cd d:\temp
3. edit junk.m
4. remove all the contents of file.
5. put following content into
file
clear all;
close all;
for ii = 1 : 100
printf('hello
world \n');
end
6. save the file in "d:\temp" area using "file-save
as"
7. come to command window
>>
junk {
hit enter }
8 hello world get's printed 10 times.
Regards
Bharat Pathak
Arithos Designs
DSP Design Consultancy and Corporate Training
Company.
From: Jackie Y.
Sent: Monday, September 22, 2008 3:11 AM
To: address@hidden
Subject: Working on M-files To Whom It May Concern:
I am a college student who have installed Octave for my computer as an alternative to Matlab. I am very pleased that much, if not all of the syntax is exactly the same as Matlab. However, after reading on many sites, I do not understand how one will create and execute a m-file on octave. By typing in "edit" in the command line, Scite opens up. I can create a code in it, but I cannot save it. Furthermore, I cannot seem to copy and paste it into Octave's command line. I would like to know how to be able to create M-files in Octave, and how to run it in Octave. Because I am not very computer-savvy, I would appreciate if you would explain it to me in the simplest way. I appreciate your time and answers and thankyou for making such a magnificient program. -- Jackie
_______________________________________________ Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
[Prev in Thread] | Current Thread | [Next in Thread] |