Code covered by the BSD License  

Highlights from
collection1

2.0

2.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 4.33 KB File ID: #210

collection1

by Glenn Gomes

 

18 Jan 1999

A User Contributed collection of various M-File tools.

| Watch this File

File Information
Description

A User Contributed collection of various M-File tools. These tools have been tested under MATLAB 5.2.

print_models.m - Print specified Simulink models in current directory
Syntax print_models(specifier) where specifier (wildcard) can be any syntax used in dir command

close_models.m - Close specified Simulink models which are open
Syntax close_models(specifier) where specifier (wildcard) can be any syntax used in dir command

open_models.m - Open specified Simulink models which are open
Syntax open_models(specifier) where specifier (wildcard) can be any syntax used in dir command

Makemat.m - Creates a matrix of a character array with entries seperated by ASCII character. If character is omitted then white spaces are assumed as the delimiters
Example output_matrix = makemat(input_string,char(34))
Forms a matrix out of a comma delimited charatcer vector

findnear.m - In the array A find the element with value closest to the value b
Syntax [value,pos] = findnear(A,b)

remspace.m - Returns a string with only one space seperating fields.
Syntax remspace(a)

Remtab.m - Find the locations of all non printable ASCII characters (with codes < 32) and substituites them with spaces.
Syntax remtab(a)

Roundoff.m - Rounds a number(vector) to a specified number of decimal places
Format is roundoff(number,decimal_places)

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
29 Mar 2003 Placebo Nocebo

I am the first who rated this file!!

25 Oct 2006 F Moisy

Why not submitting something with an explicit title? Why zipping together unrelated files?

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
print Glenn Gomes 22 Oct 2008 06:33:59
close Glenn Gomes 22 Oct 2008 06:33:59
models Glenn Gomes 22 Oct 2008 06:33:59
mat Glenn Gomes 22 Oct 2008 06:33:59
find Glenn Gomes 22 Oct 2008 06:33:59

Contact us at files@mathworks.com