source:
MML/trunk/machine/SOLEIL/LT1/emittance/test_position.m
@
17
Last change on this file since 17 was 17, checked in by , 10 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.