mex_WriteMatrix
Replacement (fast!) for dlmwrite in MATLAB
Function to write matrix contents to the file. Replacement for (slow) dlmwrite in MATLAB
Usage: mex_WriteMatrix(filename,matrix,format,delimiter, writemode);
Parameters:
filename - full path for CSV file to export
matrix - matrix of type 'double' values to be exported
format - format of export (sprintf) , e.g. '%10.6f'
delimiter - delimiter, for example can be ',' or ';'
writemode - write mode 'w+' for rewriting file 'a+' for appending
Cite As
Alex Nazarovsky (2024). mex_WriteMatrix (https://github.com/nazarovsky/mex-writematrix), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
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.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |
|