title: Is there a way to print the values of a signal to a file from a modelsim simulation?
body: <p>I need to get the values of several signals to check them against the simulation (the simulation is in Matlab). There are many values, and I want to get them in a file so that I could run it in a script and avoid copying the values by hand.</p>
  
  <p>Is there a way to automatically print the values of several signals into a text file?</p>
  
  <p>(The design is implemented in VHDL)</p>