Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.857.862 Times

Write a cell array to a text file 1.0

  Date Added: April 30, 2013  |  Visits: 211

Write a cell array to a text file

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



This function enables you to directly write data from a cell array into a text file, which functions like FWRITE and FPRINTF do not.Usage:fwritecell(filename, format, data) writes cell array "data" to the file with name "filename" using the C language conversion specifications in argument "format". The conversion specifications are the same as those used by SPRINTF.fwritecell(filename, data) writes cell array "data" using a fixed width format padded with whitespace. The field widths are determined automatically. Note that the decimal point for floating point numbers may not be aligned within columns.Example:fwritecell('textfile1.txt', '%2d %1d %21s %8.5f', C);See detailed example below.The ZIP file contains fwritecell.m and fwritecell_example.m which contains the following code:Example:C={ 1, 2, 'hello', 3.45 34, 2, 'this is a long string', 4 2, 4, 'g', 24.13312};% Recommended approach specifying field widths% example %8.5f implies: at least 8 characters long% with 5 after the decimal pointfwritecell('textfile1.txt','%2d %1d %21s %8.5f',C);% Write fixed width. Note that the decimal points are not% lined upfwritecell('textfile2.txt',C);% This call is similar to the first one, but note that the% columns do not have a fixed width.fwritecell('textfile3.txt','%d, %d, %s, %f',C);

Requirements: No special requirements
Platforms: Matlab
Keyword: Aligned Fwritecell Examplem Fwritecellm String
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


WRITE A CELL ARRAY TO A TEXT FILE RELATED
Libraries  -  String::RexxParse 1.08
String::RexxParse is a Perl implementation of REXX parse command. SYNOPSIS use String::RexxParse qw(parse); parse $source, q! $var1 $var2 ( $var3 ) $var4 ($var5) $var6 !; or use String::PexxParse; $parse = String::RexxParse->new(q! $var1...
9.22 KB  
Libraries  -  Regular Statement String 2.5.7
Regular Statement String (RSS) provides several libraries in C, Java, and COM to implement and demonstrate the key-value development method using well-designed "strings" (RSS) as the media. Regular Statement String also shows a way to write...
337.92 KB  
Libraries  -  Vstr string library 1.0.15
Vstr is a safe and fast string library for C. Vstr string library is designed for network communication. Its design uses chunks of ptr+length data, so adding, substituting, and deleting data are all fast operations. This model also allows it to...
4.3 MB  
Libraries  -  String::Scanf 0.98.8
String::Scanf can emulate sscanf() of the C library. SYNOPSIS use String::Scanf; # imports sscanf() ($a, $b, $c, $d) = sscanf("%d+%d %f-%s", $input); ($e, $f, $g, $h) = sscanf("%x %o %s:%3c"); # input defaults to $_ $r =...
1.7 MB  
Libraries  -  Math::String 1.27
Math::String module contains arbitrary sized integers having arbitrary charsets to calculate with key rooms. SYNOPSIS use Math::String; use Math::String::Charset; $a = new Math::String cafebabe; # default a-z $b = new Math::String...
61.44 KB  
Libraries  -  Better String Library 7222006
Better String Library is an abstraction of a string data type which is superior to the C library char buffer string type and C++s std::string. The library is totally stand alone, portable (known to work with gcc/g++, MSVC++, Intel C++, WATCOM...
112.64 KB  
Libraries  -  String::Tokenizer 0.05
String::Tokenizer is a simple string tokenizer. SYNOPSIS use String::Tokenizer; # create the tokenizer and tokenize input my $tokenizer = String::Tokenizer->new("((5+5) * 10)", +*()); # create tokenizer my $tokenizer =...
8.19 KB  
Libraries  -  String::MFN 1.27
String::MFN is a Perl module to Normalize a string in the manner of the mfn utility. SYNOPSIS use String::MFN; my $sane_string = mfn($retarded_string); ... Normalizes a string. Normalization, in brief, means modifying the string to...
8.19 KB  
Libraries  -  Math::String::Charset::Nested 1.27
Math::String::Charset::Nested is a charset for Math::String objects. SYNOPSIS use Math::String::Charset; # construct a charset from bigram table, and an initial set (containing # valid start-characters) # Note: After an a, either an b, c...
61.44 KB  
Libraries  -  Math::String::Charset 1.27
Math::String::Charset is a simple charset for Math::String objects. SYNOPSIS use Math::String::Charset; $a = new Math::String::Charset; # default a-z $b = new Math::String::Charset [a..z]; # same $c = new Math::String::Charset { start =>...
61.44 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB