file2var

To load a data file and assign its content to a particular variable.
2.4K Downloads
Updated 19 May 1997

No License

To load a data file and assign its content to a particular variable.

Example: Data=file2var('test.dat')

This program perform the same things as follow:
load test.dat
Data=test;
or
load test <- Assume test.mat
Data=test;

Cite As

Alexander K. M. Leung (2024). file2var (https://www.mathworks.com/matlabcentral/fileexchange/168-file2var), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Import and Analysis in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0