Changeset 521 for trunk


Ignore:
Timestamp:
Sep 7, 2006, 6:46:54 AM (18 years ago)
Author:
dkearney
Message:

adjusted the matlab example, matlab commands no longer need delimited single quotes, this was fixed when the tcl rappture was updated when nick added TEA support.
also added units to the image example in zoo, not it recognized the units deg and rad for the angle of how much to turn the image.

Location:
trunk/examples
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/app-fermi/matlab/fermi.m

    r156 r521  
    1818% matlab -nodisplay -r infile=\'driver1234.xml\',fermi
    1919% the above command sets variable infile to the name 'driver1234.xml'
     20
     21% infile = 'driver31619.xml'
    2022
    2123% open our xml input file.
  • trunk/examples/app-fermi/matlab/tool.xml

    r156 r521  
    33    <tool>
    44        <about>Press Simulate to view results.</about>
    5         <command>matlab -nodisplay -r infile=\'@driver\',fermi</command>
     5        <command>matlab -nojvm -nosplash -nodisplay -r infile='@driver',fermi</command>
    66    </tool>
    77    <input>
  • trunk/examples/zoo/image/image.tcl

    r474 r521  
    1919set data [$driver get input.image.current]
    2020set angle [$driver get input.(angle).current]
     21set angle [Rappture::Units::convert $angle -to deg -units off]
    2122
    2223set imh [image create photo -data $data]
  • trunk/examples/zoo/image/tool.xml

    r126 r521  
    3030      <description>Rotate image by this amount in degrees.</description>
    3131    </about>
    32     <min>0</min>
    33     <max>360</max>
    34     <default>0</default>
     32    <units>deg</units>
     33    <min>0deg</min>
     34    <max>360deg</max>
     35    <default>0deg</default>
    3536  </number>
    3637</input>
Note: See TracChangeset for help on using the changeset viewer.