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

Filed under:
|
|
|

The Following is the basic skeleton for my MATLAB program. Each box is a class definition.

Scroll down for the error. alt text Note:

  1. 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

  1. Why is this happening?
  2. Am I getting wrong in the concepts of OOP for Matlab specific?
  3. How do I resolve this?

Thanks in Advance!

© Stack Overflow or respective owner

Related posts about oop

Related posts about matlab