You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

1. Differences inside Matlab interface

Below, we have collected commonly used operations related to CPOs/IDSes. You can compare both methods by looking at different implementations of similar operations.

1.1. 1. Creating pulse file

ITMIMAS
>> import_ual
>> idx=euitm_create('euitm', 111, 11);
>> disp(idx)
     0
>>
>> import imasjava.imas
>> idx=imas_create('ids', 111, 11);
>> disp(idx)
     0
>>

1.2. 2. Opening pulse file

ITMIMAS
>> import_ual
>> idx=euitm_open('euitm', 111, 11);
>> disp(idx)
     0
>>
>> import imasjava.imas
>> idx=imas_open('ids', 111, 11);
>> disp(idx)
     0
>>

 

1.3. 3. Closing pulse file

ITMIMAS
>> import_ual
>> idx=euitm_open('euitm', 111, 11);
>> disp(idx)
     0
>> ret=euitm_close(idx)
ret =
     0
>>
>> import imasjava.imas
>> idx=imas_open('ids', 111, 11);
>> disp(idx)
     0
>> ret=imas_close(idx)
ret =
     0
>>
  • No labels