Undefined Variable in Matlab
- by OrangeRind
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 == wallwall.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!