Rank: 48 based on 777 downloads (last 30 days) and 44 files submitted
Personal Profile:

1956 born...
1969 ...fortran 66...
1986 ...matlab...
2010

Professional Interests:
neurology, neuroscience, mathematics, statistics

 

Watch this Author's files

 

Files Posted by us View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jun 2010 Published M-Files fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us nested, function, anonymous, lexical, class, calls 62 25
  • 5.0
5.0 | 11 ratings
20 Jun 2010 Published M-Files farg: a pedestrian M-file parser showing all used functions' syntax parses an M-file searching for functions and prints their exact, literal syntax Author: us development environme..., anonymous, lexical, script, function, argument list 17 2
  • 5.0
5.0 | 1 rating
01 Jun 2010 Screenshot cvar: a pedestrian variable name checker CVAR checks the names of variables for potential conflicts with know functions or built-ins Author: us which, name, variable, exist 15 0
27 May 2010 Screenshot vsize: a pedestrian variable decoder VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity Author: us size, class, length, ndims, whos, array 15 4
  • 5.0
5.0 | 4 ratings
08 May 2010 Screenshot yapp: a pedestrian Yet Another Parser Parser YAPP is a highly speed optimized input parser collecting unix-style option(s)/value(s) Author: us parser 7 0
Comments and Ratings by us View all
Updated File Comments Rating
22 Jul 2010 GetFullPath Partial/relative path name to full path as fast C-mex for Windows Author: Jan Simon

jan

this should be corrected
- System.IO.FileInfo is a .NET component (available only in more recent ML versions)
- java.io.File is the java class

urs

21 Jun 2010 pdfapp: a pedestrian pdf concatenator PDFAPP appends PDF files to a new PDF file Author: us

thanks for your comments, mark

so far, we never ran into this problem...

a few thoughts
1) PDFAPP only creates the input to GHOSTSCRIPT and nothing else; in particular, it does not open/change/etc the PDF files...
2) hence, it all depends on how your GS version is handling your PDFs, which might be in a compressed format (just a guess)...

here's an example, which shows a reasonably sized output

     surf(peaks(64));
     print -dpdf -r600 ex_01.pdf;
     print -dpdf -r600 ex_02.pdf;
     pdfapp foo ex_01.pdf ex_02.pdf;
%{
PDFAPP> F:\usr\matlab\TMP\fex\ags\test\foo.pdf
    1 > F:\usr\matlab\TMP\fex\ags\test\ex_01.pdf
    2 > F:\usr\matlab\TMP\fex\ags\test\ex_02.pdf
PDFAPP> F:\usr\matlab\TMP\fex\ags\test\foo.pdf [260 kb]
%}
     ls -latr *.pdf
%{
-rw---a 133978 6-21-2010 9:42p ex_01.pdf
-rw---a 133978 6-21-2010 9:42p ex_02.pdf
-rw---a 266557 6-21-2010 9:43p foo.pdf
%}
     d=dir('ex_*.pdf');
     ds=sum([d.bytes])
% ds = 267956
% thus, in this case, the output is even slightly smaller...

us

17 Jun 2010 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us

andrew

unfortunately: no...
one of the reasons why the .EVAL. group is collected separately by fdep and a warning flag is displayed if any such construct is found...

which, in turn, is one of the reasons why one should follow these rules
- do NOT use EVAL
- use FEVAL with function handles, only
  note:
     feval(@sind,30)
  will correctly find the call to SIND...

sorry
us

03 Jun 2010 Seed generator using 'current' World Population count Generates a seed that could be used to set the state for random number generation in matlab. Author: Pranam Janney

please, remove this completely useless submission...

??? Undefined function or method 'read_specific_data' for input arguments of
type 'char'.

us

27 May 2010 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us

thomas
thanks for your comment

to achieve what you need, you could do this

pp=fdep('yourmain');
% now,
pp.sub.M
% is an array listing all the modules with their full path
% you could simply create a little utility, which does the copy, eg
function copymod(pp,newfolder)
% error checking etc left out...
for i=1:pp.nfun
     copyfile(pp.sub(i).M,newfolder);
end
end

us

Comments and Ratings on us' Files View all
Updated File Comment by Comments Rating
22 Jun 2010 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us Andrew

21 Jun 2010 pdfapp: a pedestrian pdf concatenator PDFAPP appends PDF files to a new PDF file Author: us us

thanks for your comments, mark

so far, we never ran into this problem...

a few thoughts
1) PDFAPP only creates the input to GHOSTSCRIPT and nothing else; in particular, it does not open/change/etc the PDF files...
2) hence, it all depends on how your GS version is handling your PDFs, which might be in a compressed format (just a guess)...

here's an example, which shows a reasonably sized output

     surf(peaks(64));
     print -dpdf -r600 ex_01.pdf;
     print -dpdf -r600 ex_02.pdf;
     pdfapp foo ex_01.pdf ex_02.pdf;
%{
PDFAPP> F:\usr\matlab\TMP\fex\ags\test\foo.pdf
    1 > F:\usr\matlab\TMP\fex\ags\test\ex_01.pdf
    2 > F:\usr\matlab\TMP\fex\ags\test\ex_02.pdf
PDFAPP> F:\usr\matlab\TMP\fex\ags\test\foo.pdf [260 kb]
%}
     ls -latr *.pdf
%{
-rw---a 133978 6-21-2010 9:42p ex_01.pdf
-rw---a 133978 6-21-2010 9:42p ex_02.pdf
-rw---a 266557 6-21-2010 9:43p foo.pdf
%}
     d=dir('ex_*.pdf');
     ds=sum([d.bytes])
% ds = 267956
% thus, in this case, the output is even slightly smaller...

us

21 Jun 2010 pdfapp: a pedestrian pdf concatenator PDFAPP appends PDF files to a new PDF file Author: us Mark

I had an old version of GhostScript which didn't work with this program. I downloaded and installed the latest version, and it ran fine, but it appended 11 files totalling 1.26MB into a single 17MB output -- a expansion of 13 times!

17 Jun 2010 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us us

andrew

unfortunately: no...
one of the reasons why the .EVAL. group is collected separately by fdep and a warning flag is displayed if any such construct is found...

which, in turn, is one of the reasons why one should follow these rules
- do NOT use EVAL
- use FEVAL with function handles, only
  note:
     feval(@sind,30)
  will correctly find the call to SIND...

sorry
us

17 Jun 2010 fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us Andrew

Is fdep capable of finding feval calls, where the function name argument in feval is itself a string variable?

e.g.

feval(fname,1,2,3)

Top Tags Applied by us
string, matrices, array, path, cell
Files Tagged by us View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Jun 2010 Published M-Files fdep: a pedestrian function dependencies finder FDEP dissects ML files and iteratively looks for all user defined functions used during runtime Author: us nested, function, anonymous, lexical, class, calls 62 25
  • 5.0
5.0 | 11 ratings
20 Jun 2010 Published M-Files farg: a pedestrian M-file parser showing all used functions' syntax parses an M-file searching for functions and prints their exact, literal syntax Author: us development environme..., anonymous, lexical, script, function, argument list 17 2
  • 5.0
5.0 | 1 rating
01 Jun 2010 Screenshot cvar: a pedestrian variable name checker CVAR checks the names of variables for potential conflicts with know functions or built-ins Author: us which, name, variable, exist 15 0
27 May 2010 Screenshot vsize: a pedestrian variable decoder VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity Author: us size, class, length, ndims, whos, array 15 4
  • 5.0
5.0 | 4 ratings
08 May 2010 Screenshot yapp: a pedestrian Yet Another Parser Parser YAPP is a highly speed optimized input parser collecting unix-style option(s)/value(s) Author: us parser 7 0

Contact us at files@mathworks.com