[ Home | SDTools | SDT | Sales ]
[ Support | Services | Publications]


Exporting to UFF (Universal File Format)



Previous Up Next

Question I have problems getting ufwrite to work.

Under SDT 4.0, display youe data using iiplot. Use the standard database wrapper XF to change properties as needed then write selected datasets to a file. For example,
   load gartid
  iiplot
  XF(1).x='frequency';  % modify data set properties
  XF(1).yn='accele';    
  iicom('sub');         % reinitialize plot to check
  ufwrite('test.uf',XF,1);
  XF(7)={'node',FEnode,'elt',FEelt};
  ufwrite('test.uf',XF,7);

  UFS=ufread(FileName); % reread the UFF to check result
 
Under SDT 3.1, you can fill defaults for XFopt and XFdof by displaying a dataset using iiplot. You can then write a universal file using
   ufwrite('test.uf',58,IIxf,IIw,XFopt,XFdof); 
  ufwrite('test.uf',15,FEnode); 
  ufwrite('test.uf',82,FEelt); 
 
where FEelt can be a wire-frame line or a beam model.


©1991-2006 by SDTools