Error when using subscripts.
Posted: Thu Jul 06, 2006 9:18 am
Hello again.
I have a problem when using subscripts - it doesn't work!
I've defined a subscript [training platform] which contains a range of 5. I then have the following equation:
test[training platform] = DS TRAINING PATTERN[Training Platform], FTD TRAINING PATTERN[Training Platform],PTT TRAINING PATTERN[Training Platform],RCT TRAINING PATTERN[Training Platform],SFET TRAINING PATTERN[Training Platform]
Where each of the five patterns are a series of pulses (obviously defined elsewhere in the model) - eg:
DS TRAINING PATTERN[Training Platform]= PULSE TRAIN( 176 , 5, 168, 8400 )+PULSE TRAIN( 183 , 5,168,8400 )+PULSE TRAIN(200 ,5 ,168, 8400)+PULSE TRAIN(208,3,168,8400)+PULSE TRAIN( 224 , 5, 168, 8400 )+PULSE TRAIN( 231 , 5,168,8400 )+PULSE TRAIN(248 ,5 ,168, 8400)+PULSE TRAIN(256,3,168,8400)+PULSE TRAIN( 272 , 5, 168, 8400 )+PULSE TRAIN( 279 , 5,168,8400 )
However, I get an error message saying Incorrect/Incomplete equation - but I don't see what is incomplete.
Thanks
Nik
[Edited on 7-6-2006 by nikvyas]
I have a problem when using subscripts - it doesn't work!
I've defined a subscript [training platform] which contains a range of 5. I then have the following equation:
test[training platform] = DS TRAINING PATTERN[Training Platform], FTD TRAINING PATTERN[Training Platform],PTT TRAINING PATTERN[Training Platform],RCT TRAINING PATTERN[Training Platform],SFET TRAINING PATTERN[Training Platform]
Where each of the five patterns are a series of pulses (obviously defined elsewhere in the model) - eg:
DS TRAINING PATTERN[Training Platform]= PULSE TRAIN( 176 , 5, 168, 8400 )+PULSE TRAIN( 183 , 5,168,8400 )+PULSE TRAIN(200 ,5 ,168, 8400)+PULSE TRAIN(208,3,168,8400)+PULSE TRAIN( 224 , 5, 168, 8400 )+PULSE TRAIN( 231 , 5,168,8400 )+PULSE TRAIN(248 ,5 ,168, 8400)+PULSE TRAIN(256,3,168,8400)+PULSE TRAIN( 272 , 5, 168, 8400 )+PULSE TRAIN( 279 , 5,168,8400 )
However, I get an error message saying Incorrect/Incomplete equation - but I don't see what is incomplete.
Thanks
Nik
[Edited on 7-6-2006 by nikvyas]