Path: SC/Disturbances
% Save surface properties to the file You need to open and close the file externally. rho is optional. The calling sequence is file = fopen('myfile.txt','wt'); fprintf(file,'[\n'); SaveSurfacePropertiesDSim( file, v, f, cD, rho ); fprintf(file,']\n'); fclose(file); This creates a DSim matrix. -------------------------------------------------------------------------- Form: SaveSurfacePropertiesDSim( file, v, f, cD, rho ) -------------------------------------------------------------------------- ------ Inputs ------ file (1,1) File id v (n,1) Vertices f (m,1) Faces cD (1,1) Drag coefficient rho (1,4) Optical properties ------- Outputs ------- None --------------------------------------------------------------------------
Back to the SC Module page