Rank: 5905 based on 16 downloads (last 30 days) and 1 file submitted
photo

Jit

E-mail
Company/University
MPL/SIO/UCSD

Personal Profile:
Professional Interests:
signal processing, oceanography

 

Watch this Author's files

 

Files Posted by Jit
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Apr 2011 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit mfile, distribution, dependency, consolidator, packager 16 7
  • 3.75
3.8 | 4 ratings
Comments and Ratings by Jit View all
Updated File Comments Rating
26 Apr 2011 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit

Thanks, I found the typo further down as well.
Odd, because it worked for me even with the typo...
Fixed.

I flip-flopped on how I wanted it to behave on the input, but I usually do something like:
../main_script.m
../dependencies/

Hence why I wouldn't want the src copied too.
I thought it might also be an issue for directory recursion, and also why I forced it to not drill down directories on SRC, but now I'm thinking I could just set it up to check for DEST paths in the source, and skip those.

Jedediah: Could you see if the new version works for you now? I'd like to make it work for earlier matlab releases as well, as long as it's not too much work - but no longer have access to the older releases myself.

25 Apr 2011 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit

Works fine for me.
Maybe if you actually used the same matlab version (R2010B), as clearly stated in the above file information.

Comments and Ratings on Jit's Files View all
Updated File Comment by Comments Rating
20 Dec 2012 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit Paul

Friend, I owe you a drink. At the very least.

27 Feb 2012 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit Mike

This worked perfectly for me in R2009b.

26 Apr 2011 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit Jit

Thanks, I found the typo further down as well.
Odd, because it worked for me even with the typo...
Fixed.

I flip-flopped on how I wanted it to behave on the input, but I usually do something like:
../main_script.m
../dependencies/

Hence why I wouldn't want the src copied too.
I thought it might also be an issue for directory recursion, and also why I forced it to not drill down directories on SRC, but now I'm thinking I could just set it up to check for DEST paths in the source, and skip those.

Jedediah: Could you see if the new version works for you now? I'd like to make it work for earlier matlab releases as well, as long as it's not too much work - but no longer have access to the older releases myself.

26 Apr 2011 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit Gordon

There's a bug in the code (alluded to by Jedediah above). You need to check line 37.

"IS_recursvie = false;"

should be

"IS_recursive = false;"

Once I fixed that, this worked great on the file I threw at it. I actually like turning recursive on: if I'm copying all the dependencies to a directory, I probably want the source file in there too.

Sorry for the double post.

26 Apr 2011 M-file dependency consolidator Will take a given m-file, or directory of such files, and consolidate any dependent m/mex files Author: Jit Gordon

Oh yeah, I use 2010a

Contact us