

 nodes_of_interest = [1 2 3 ];
 
 cmd = ['!cable.exe -in seahorse.cab -out seahorse.crs -quit -sample 0.2  -terminals -connectors -nodes ',int2str(nodes_of_interest),' -snap_dt 1'];
 %cmd = ['!cable.exe -in seahorse.cab -out seahorse.crs -load Results-50.crs -sample 0.0 -snap_dt 5 -quit -DSLACK'];

 eval(cmd);
 
 curr_spd = 50; %cm/s
 
 results_filenm = ['Results-',num2str(curr_spd)];
 move = ['!mv seahorse.crs ',results_filenm,'.crs'];
 eval(move);

 cmd = ['!res2mat.exe -in ',results_filenm,'.crs -out ',results_filenm,'.mat -totals -lbs'];
 eval(cmd);
 
 


