num2nasSFFstr( num )
Version 1.1.0.0 (2.2 KB) by
Coon Timothy
Convert number to a Nastran small-field format string
I modified this code: https://www.mathworks.com/matlabcentral/newsreader/view_thread/167889
This function takes a numeric input and outputs a string in the small-field format recognized by Nastran. This is useful in modifying or creating new Nastran input files (.dat, .bdf). This isn't the most efficient code. It does not have much error-checking. It has not been properly vetted for bugs. Feel free to do so and send modifications.
Cite As
Coon Timothy (2026). num2nasSFFstr( num ) (https://www.mathworks.com/matlabcentral/fileexchange/55232-num2nassffstr-num), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on String Parsing in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
