File I/O
file_ioOpen, close, and write low-level file data for photonic simulation workflows, including sparse matrices, ASCII output, and direct file writes.
Instructions
Low-level file open/close/write helpers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Objects list for writeascii. | |
| data | No | fwrite data or write word / matrix var name. | |
| action | Yes | Low-level file write operation. | |
| file_path | No | File path where applicable. | |
| type_name | No | fwrite type. | |
| access_type | No | fopen access mode. | |
| sparse_format | No | spwrite format. | sparse |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |