5.0

5.0 | 1 rating Rate this file 90 downloads (last 30 days) File Size: 9.05 KB File ID: #8972

oct2ml

by Ben Barrowes

 

09 Nov 2005 (Updated 18 Jun 2009)

Code covered by BSD License  

Converts octave style m-files to matlab style m-files

Download Now | Watch this File

File Information
Description

This small converter aims to accept octave style m-files and output matlab style m-files. Somewhat basic: # to %, ! to ~ and so on. A small script to convert directories containing octave m-files is included. Put directories of converted m-files at the _end_ of your matlab path.

See README for more information on how to use the files.

MATLAB release MATLAB 7.0.4 (R14SP2)
Zip File Content  
Other Files license.txt,
oct2ml_0.32.tar.gz
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
29 Dec 2005 Jinho Jang

I am using R13M6.5 and this is making errors.

??? Undefined function or variable 'replaceword_f'.

Error in ==> C:\MATLAB6p5\work\ama\oct2ml.m (wordconverter_o)
On line 726 ==> funstr=replaceword_f(i,j,funstr,funstrwords,funstrwords_b,funstrwords_e,repstr);

Error in ==> C:\MATLAB6p5\work\ama\oct2ml.m
On line 93 ==> [funstr,tempflag,temp2]=wordconverter_o(i,j,funstr,funstrnumbers,funstrnumbers_b,funstrnumbers_e,funstrwords,funstrwords_b,funstrwords_e,formats);

Please login to add a comment or rating.
Updates
05 Dec 2005

updated description

03 Jan 2006

bug fixes.

17 Jan 2006

Added support for ** -> ^

18 Jun 2009

New License

Tag Activity for this File
Tag Applied By Date/Time
external interface Ben Barrowes 22 Oct 2008 08:05:43
octave Ben Barrowes 22 Oct 2008 08:05:43
convert Ben Barrowes 22 Oct 2008 08:05:43
conversion Ben Barrowes 22 Oct 2008 08:05:43
translate Ben Barrowes 22 Oct 2008 08:05:43
translation Ben Barrowes 22 Oct 2008 08:05:43
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com