File Exchange

image thumbnail

Flex Input File - Read in FLXTBL files to generate 2D models

version 1.0 (4.72 KB) by

Method of importing TIFF images into PZFlex to generate a 2D model



View License

The flex input file generates a basic 2D grid and will read in the data from the FLXTBL file to generate the 2D model with the various predefined materials.

To ensure that the full TIFF image appears as a model in FlexLab, make sure that variables match up in the MATLAB file (XMax, YMax and BoxSize).

Within the parameters of the SITE-TABL command, the FILENAME input should be altered to your desired .FLXTBL filename. Running the flex file will plot out the TIFF image as a typical 2D model built up of your defined materials from the 'write_flex_material_table.m' file.

**NOTE: To be used in conjunction with 'write_flex_material_table.m'

Tested with PZFlex build: 3.0-2012-02-10-1 Windows 64 bit

Comments and Ratings (0)

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today