help-octave
[Top][All Lists]
Advanced

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

Matlab to Octave Nesting function help


From: Diana Nomura
Subject: Matlab to Octave Nesting function help
Date: Tue, 1 Jul 2014 15:50:26 -1000

So I am completely new to Octave and I am having a hard time with my programs because of the nest functions. I am using GNU Octave 3.8.1 in Ubuntu 14.04 Tools and its running on VMware Player.

examples:
1.

function [newXY] = MinuOrigin - TransAll(real_end, k)

theta = real_end(k,3)
.
.
.

output:
error: 'real_end' undefined near line 1 column 41
error: evaluating argument list element number 1
error: called from:
error: /home/user/MinuOrigin.m at line 1, column 30

2. 

function [end_list, branch_list,ridgeOrderMap,edgeWidth] = mark_minutia (in, inBound,inArea,block)

[w,h] = size (in);
.
.
.

output:
error: 'in' undefined near line 2 column 13
error: evaluating argument list element number 1
error: called from:
error: /home/user/mark_minutia.m at line 2, column 6

I just want to know who even though I state the variable in the function that it still doesn't read it and when i try to compile that it always says that my first variable is undefined.

Also how do you run different programs together. I have 9 programs ive been writing in the editor and when im done I select all and run it into the Command Window but is there another way have all of them run together without adding them on one program? They all do different things to inhance and make a .jpg file more defined/cleaned up but I im curious if you can run them all at one time or do I have to do them all individually. Please email me when possible.

Thank you,
Diana Nomura

reply via email to

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