help-octave
[Top][All Lists]
Advanced

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

Re: Advice on getting started converting MATLAB to Octave


From: Juan Pablo Carbajal
Subject: Re: Advice on getting started converting MATLAB to Octave
Date: Thu, 30 May 2013 19:05:04 +0200

On Thu, May 30, 2013 at 6:38 PM, Jeffrey <address@hidden> wrote:
> I have a lot of MATLAB code in .m files for my thesis. I will need to
> convert this to run on Octave on a cluster and would like a little advice
> please.
>
> Is there an IDE, or similar, which allows you to step through code and let
> you view the value of variables in memory?
>
> Since I think the answer to the above is "no", what are good editors to use
> for Octave code? I know how to use emacs, but it did not highlight .m files
> very well, so I'm wondering if there is a better editor, or a simple way to
> use emacs to highlight Octave code.
>
> How do you duplicate some of the features of an IDE? I know about adding
> print statements to my code, but I wonder if you have any other good tips
> which will help me.
>
> Thanks,
> Jeff
>
> ________________________________
> View this message in context: Advice on getting started converting MATLAB to
> Octave
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>
Converting Matlab to Octave should be trivial. have you tried your
code already in the latest release?
If you are using toolboxes then you are compromised and there may be a
lot to do not only converting the code.

Others will answer, but I think the latest version of the GUI in the
dev repository already has something like stepping through code.
Otherwise I personally enjoy using gEdit.

To step through code you can add the keyboard keyword to a fuction and
script and you will be given a debug prompt where you can navigate the
code and look at variable values.


reply via email to

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