octave-maintainers
[Top][All Lists]
Advanced

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

Re: classdef problems


From: Richard Crozier
Subject: Re: classdef problems
Date: Thu, 12 Sep 2013 11:43:37 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.3.8)

Quoting Richard Crozier <address@hidden> on Thu, 12 Sep 2013 11:26:12 +0100:


I'm using 498b2dd1bd56 (classdef).



To further test this, I added only the +oandm directory containing the clasdef classes, everything works fine, then I change directory, and start getting the problems. I started the session from the directory containing the +oandm folder.

address@hidden ~/src $ octave-cli
warning: function ./+oandm/system.m shadows a built-in function
GNU Octave, version 3.7.5
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type 'news'.

octave-cli:1> addpath ('+oandm')
warning: function +oandm/system.m shadows a built-in function
octave-cli:2> pwd
ans = /home/richard/src
octave-cli:3> cd <snip>/
warning: load_path: +oandm: No such file or directory
octave-cli:4> temp = oandm.component(1)
warning: load_path: +oandm: No such file or directory
warning: load_path: +oandm: No such file or directory
error: 'oandm' undefined near line 1 column 8
octave-cli:4> ^C
octave-cli:4> quit
warning: load_path: +oandm: No such file or directory

warning: load_path: +oandm: No such file or directory
address@hidden ~/src $ octave-cli
warning: function ./+oandm/system.m shadows a built-in function
GNU Octave, version 3.7.5
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "i686-pc-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type 'news'.

octave-cli:1> addpath ('+oandm')
warning: function +oandm/system.m shadows a built-in function
octave-cli:2> temp = oandm.component(1)
meta.package query: component
class: oandm.component
superclass: handle
method block
method attribute: Access = public
constructor: component
method: update
method: service
method: inspect
method block
method attribute: Access = protected
method: updatefailurestatus
method: damagedetectionprob
method: updateservicedamage
method: updateimpairment
method: updatedamage
property block
property attribute: SetAccess = public
property attribute: GetAccess = public
property: DamageType
property default: 1
property: DamageParams
property default: 0.1
property: FailureRate
property default: 0
property: DamageDetectionLambdaService
property default: 0.5
property: DamageDetectionLambdaInspection
property default: 0.6
property: DamageDetectionLambdaMonitoring
property default: 1.0
property: DamageDetectionMaxProbService
property default: 0.9
property: DamageDetectionMaxProbInspection
property default: 0.9
property: DamageDetectionMaxProbMonitoring
property default: 0.9
property: DamageRepairBarrier
property default: 0.4
property: DamageReplaceBarrier
property default: 0.9
property: DamageDetectionRepairDistribution
property default: [0.6, 0.2]
property: DamageRepairReduction
property default: 0.3
property: ImpairmentType
property default: 0
property: ImpairmentParams
property default:
property: ImpairmentRepairReduction
property default: 0.3
property: ServiceCost
property default: 0
property: ServiceTime
property default: 0
property: ScheduledServicesForReplacement
property default: 1
property: ReplacedOnService
property default:
property: InspectionCost
property default: 0
property: InspectionTime
property default: 0
property: RepairCost
property default: 0
property: RepairTime
property default: 0
property: ReplaceCost
property default: 0
property: UnScheduledReplaceTime
property default: 0
property: ScheduledReplaceTime
property default: 0
property: HasMonitoring
property block
property attribute: SetAccess = private
property attribute: GetAccess = public
property: Age
property: RequiresRepair
property: RequiresReplacement
property: HasFailed
property: DamageDetectionProbability
property: TimeToRecovery
property: NReplicates
property: ServicesToSchedReplacement
property default: 0
property: DamageLevel
property: ImpairmentLevel
constructor
temp = oandm.component object
octave-cli:3> clear
deleting oandm.component object (handle)
octave-cli:4> cd <snip>/
warning: load_path: +oandm: No such file or directory
octave-cli:5> temp = oandm.component(1)
warning: load_path: +oandm: No such file or directory
meta.package query: component
constructor
temp = oandm.component object
octave-cli:6> pwd
warning: load_path: +oandm: No such file or directory
ans = /home/richard/src/<snip>
octave-cli:7> ls
warning: load_path: +oandm: No such file or directory
error: no such file, '/<snip>/+oandm/system.m'
error: called from:
error: /usr/local/share/octave/3.7.5/m/miscellaneous/ls.m at line 69, column 20
octave-cli:7>

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




reply via email to

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