Expand description
Shared formatting helpers for string-producing builtins.
Structs§
- ArgCursor
- Stateful cursor over formatting arguments.
- Format
Step Result - Result of formatting a string with the current cursor state.
Functions§
- decode_
escape_ sequences - Decode MATLAB-compatible escape sequences within a format specification.
- extract_
format_ string - Extract a printf-style format string from a MATLAB value, validating that it is a character row vector or string scalar.
- flatten_
arguments - Flatten MATLAB argument values into a linear vector suitable for repeated printf-style formatting. Arrays are traversed in column-major order and GPU tensors are gathered back to the host.
- format_
variadic - Format a MATLAB-style format string with the provided arguments.
- format_
variadic_ with_ cursor - Format a string using the supplied cursor, returning the formatted text along with the number of arguments consumed during this pass.