这是开发商的答复。第一种方法直接可以获得。第二种方法可以自己开发,等有空时做一个。
4 w- ?% S: p! q4 L! w, M' {3 T
7 q5 Y- H, Z* s8 n; EThere are a couple of ways you could do this. First, there is a calendar window that is available on the windows menu, that will display the current time during the model run if you open it. This is not exactly on the model worksheet, but it will show the time value while the model is running.
( ?* W5 w% a1 P* W- s1 _! D# V6 F9 I/ g; j; F: h, z' E
Second, you could easily build a calendar block, that has a calendar dialog item in it. The code of this block would just be calendar dialog item value = currentdate, during the simulation step, and you could clone the calendar dialog item onto the worksheet. |