Submitted by robin_a on Tue, 02/28/2012 - 15:16
I've tried using a startup script but can't access the variables defined in the c file. I assume that i'm missing something from the syntax, as i can get vissim to throw an error if i miss the semicolon. I've tried float double or no type, but whatever i do the variable block in the vissim model returns 0. please can someone explain what i'm doing wrong,
Thanks
Robin.
I tried to upload my simple case but restrictive we b policy means i cant. Basically i have a file called var.c stored in the root of c: with the following contents:
float var1 = 10;
The vissim model references this (with the whole path) then i have a variable block which references var1. when i run vissim i get no error but the variable just returns 0.