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

Version 1.0.0.0 (4.72 KB) by PZFlex
Method of importing TIFF images into PZFlex to generate a 2D model
205 Downloads
Updated 1 Mar 2012

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

Cite As

PZFlex (2025). Flex Input File - Read in FLXTBL files to generate 2D models (https://se.mathworks.com/matlabcentral/fileexchange/35393-flex-input-file-read-in-flxtbl-files-to-generate-2d-models), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0