Flex Input File - Read in FLXTBL files to generate 2D models
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
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |