|
From: | Rui Maciel |
Subject: | Re: octave mfile |
Date: | Sat, 26 Mar 2011 13:11:06 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
On 03/26/2011 12:02 AM, senator wrote:
IS there a way to upgrade the mfile I am using (notepad text file). I have trouble debugging because the m file does not even have a number line down the left side of the mfile. is there a way to get a number line down the left hand column of the mfile, so i know what line I am on in the file?
You can use a text editor that is able to present line numbers or even provide a command to jump to a particular line number. Matlab's mfiles also don't carry line numbers on the left side of them. That's the Matlab text editor that displays that info. In fact, if you edit an mfile so that it presents numbers in the beginning of each line then you will find out that both Matlab and Octave won't accept it and will throw a bunch of errors.
Hope this helps, Rui Maciel
[Prev in Thread] | Current Thread | [Next in Thread] |