source:
MML/trunk/machine/SOLEIL/LT2/emittance/test_position.m
@
4
Last change on this file since 4 was 4, checked in by , 11 years ago | |
---|---|
File size: 177 bytes |
Line | |
---|---|
1 | function test = test_position(pos,ref,delta) |
2 | |
3 | test=0; |
4 | if pos<(ref+delta)&pos>(ref-delta) |
5 | test=1; |
6 | return |
7 | else |
8 | errordlg('il y a un pb avec les axes !','Erreur'); |
9 | end |
Note: See TracBrowser
for help on using the repository browser.