Undefined Variable in Matlab
Posted
by OrangeRind
on Stack Overflow
See other posts from Stack Overflow
or by OrangeRind
Published on 2010-05-24T13:18:13Z
Indexed on
2010/05/24
13:21 UTC
Read the original article
Hit count: 319
The Following is the basic skeleton for my MATLAB program. Each box is a class definition.
Scroll down for the error. Note:
- Each Class has a custom constructor which does not require an external parameter
The Error
Undefined function or variable 'Troom'.
Error in ==> wall>wall.wall at 31
function o = wall(Tr)
Error in ==> mainfile at 5
w1 = wall();
This comes when I create an object of Class wall from another file "mainfile"
Question
- Why is this happening?
- Am I getting wrong in the concepts of OOP for Matlab specific?
- How do I resolve this?
Thanks in Advance!
© Stack Overflow or respective owner