Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000460ODTBX - Matlab Codepublic2013-11-27 07:312014-11-25 05:21
Reporterravidavi 
Assigned Toravidavi 
PrioritynormalSeveritymajorReproducibilityN/A
StatusassignedResolutionopen 
PlatformOSOS Version
Summary0000460: Undefined/unknown variables and functions in ODTBX
DescriptionWhen a MATLAB Dependency Report is run on the ODTBX_Source folder, there are dozens of unknown variables and functions.

For example, in antennaCalc.m, there is a variable tx_angle_vector that is used but never defined. It occurs nowhere else in ODTBX. What is it?
Additional InformationThe tx_angle_vector variable used to be in gpsmeas.m, but has been moved to antennaCalc.m as of R2013b as part of the link budget abstraction task. The fact that it resides in a different file is irrelevant; even before the move, it was a lone undefined variable in gpsmeas.

This still does not explain the other unknown variables that show up from the dependency report.
TagsNo tags attached.
Increment0
Release0.0
Attached Files

- Relationships

-  Notes
(0003418)
ravidavi (administrator)
2014-11-25 05:21

Many of the unknown variables occur in classes. When a class calls a function using foo(obj), Matlab will resolve that to obj.foo() at runtime, but this is not known during the dependency check. It is preferred to use the dot notation, obj.foo(), since that is always unambiguous as to which foo() method is called, even if multiple classes define foo().

- Issue History
Date Modified Username Field Change
2013-11-27 07:31 ravidavi New Issue
2013-11-27 07:31 ravidavi Status new => assigned
2013-11-27 07:31 ravidavi Assigned To => ravidavi
2013-11-27 07:51 ravidavi Severity minor => major
2013-11-27 07:51 ravidavi Summary Undefined variable tx_angle_vector => Undefined/unknown variables and functions in ODTBX
2013-11-27 07:51 ravidavi Description Updated View Revisions
2013-11-27 07:51 ravidavi Additional Information Updated View Revisions
2014-11-25 05:21 ravidavi Note Added: 0003418


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker