image thumbnail


version 1.0.0 (1.39 KB) by Mundrathi Venugopal
It converts double array in Matlab to the float or double array format in C Language.


Updated 21 Aug 2019

View License

When you develop a C code manually from model, you may need to define parameters in Matlab workspace into the C file. It will be burdensome if you have a 2d array of some big size for example 10*20 or more.

This script converts 1d or 2d double array in Matlab to its respective representation in C.

Cite As

Mundrathi Venugopal (2021). ml2c_array_float (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!