Rank: 627 based on 116 downloads (last 30 days) and 7 files submitted
photo

Mark Mikofski

E-mail
Company/University
SunPower
Lat/Long
37.91043, -122.35926

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Mark View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Jun 2013 Screenshot JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski git, scm, dvcs, version control, source control manage..., distributed version c... 20 5
  • 3.0
3.0 | 1 rating
03 May 2013 Screenshot Spline2D or Piecewise Continuous 2D Polynomials Fit a 2D function with piecewise continuous polynomials Author: Mark Mikofski data exploration, interpolation, mathematics, modeling, optimization 21 0
18 Apr 2013 Screenshot polyVal2D and polyFit2D Evaluate 2D polynomials using Horner's method. Fit 2D polynomials to data using backslash operator. Author: Mark Mikofski mathematics, optimization, data exploration, interpolation, modeling 32 0
26 Mar 2012 Screenshot IAPWS_IF97 functional form with no slip Water and steam properties and derivatives based on the IAPWS IF97. Functional form. No slip. Author: Mark Mikofski steam, iapws, chemistry, modeling, hydrodynamics, thermodynamics 16 5
  • 4.66667
4.7 | 3 ratings
01 Mar 2012 myDynamicClass Create a set of objects from a text file. Author: Mark Mikofski data import, class, oop, objects 1 1
Comments and Ratings by Mark View all
Updated File Comments Rating
27 Jun 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski

download the latest JGit 3.0.0.201306101825-r by using<br/>
>> JGit.downloadJGitJar('path\to\JGIT4MATLAB\@JGit\org.eclipse.jgit.jar')
<br/>
e.g.:<br/>
>> JGit.downloadJGitJar('@JGit\org.eclipse.jgit.jar')
<br/>
Version: 3.0.0.201306101825
<br/>
then restart matlab

29 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski

Hi Muthu, Thanks for the comment. I have added a function, lowercase "jgit.m" one level up and in the same namespace as @JGit so you should be able to just use the command interface that you describe if you put the toplevel (JGit4MATLAB) on your path.

EG: if JGit4MATLAB is on your path, and this is your file structure:

JGit4MATLAB/
\__jgit.m
..\__@JGit/
...\__JGit.m
....\__status.m
.....\__etc. (other methods in class "@" folder)

then you should be able to call the functions without strings as in your examples:

>> jgit status
# On branch master
nothing to commit, working directory clean

>> jgit branch list
gitCheckout
* master

>> jgit checkout gitCheckout

>> jgit status
# On branch gitCheckout
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# jgit.misc
#
# no changes added to commit (use "git add" and/or "git commit -a")

Is this what you are talking about? If not let me know, and thanks again for your feedback!

BTW: the @folder issue was resolved in the 2013-05-28 update.

23 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski

Sorry, folks, I accidentally zipped this up wrong last time, skipping the @JGit folder which is kind of important. I've uploaded a new submission but in the meantime just unzip or copy the contents to a folder on your path called @JGit.

15 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski

FYI:
All commands that deal with remotes and that require authentication, EG: CLONE, FETCH, PULL, PUSH, will *only* work
* with SSH
* with *no* passphrase
* with keys in the openSSH format
* with keys and known hosts in $HOME\.ssh

Obviously remotes that do not require authentication will work fine. EG: public, read-only and local repositories.

SSH is very easy to set up.
1. Download puttygen (Intel x86) from this site:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Disregard the "Intel x86" business, it doesn't matter what processor you have or whether your os is 64-bit or 32-bit. Puttygen is a very mature well establish application that is used by many other applications, for example all of the TortoiseXXX scm clients use Putty, Plink and Pageant
This is the actual download here: (click to download then click to install)
http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe
2. create a folder called .ssh in your %USERPROFILE%. On Windows 7 this is
C:\Users\<your account name>
and on xp it is
C:\Documents and Settings\<your account name>
You can do this in matlab.
>> mkdir(fullfile(getenv('userprofile'), '.ssh'))
3. create a key using puttygen, this is fairly self explantory, and kind of fun, but do *not* set a passphrase; leave those fields blank!
4. using puttygen, find the conversion menu tab and export the key in the openSSH format to the .ssh folder you created earlier.
5. now copy and paste your public key to your remote repositories (Github, Bitbucket, etc.) as needed. Jsch, which is the ssh client that JGit uses should now work out of the box.

Unfortunately using https isn't possible with JGit4MATLAB. Sorry. but hopefully you'll love the excitement of using ssh key pairs!

19 Feb 2013 JSONlab: a toolbox to encode/decode JSON files in MATLAB/Octave JSONlab is an open-source implementation of a JSON encoder and a decoder/parser for MATLAB/Octave. Author: Qianqian Fang

@Jan, I've been using a JSON.jar [1] I made from the java-json source [2] and it works perfectly. I don't know how native java speed compares with native MATLAB though.

[1] http://dl.dropbox.com/u/19049582/JSON.jar
[2] http://json.org/java/

Comments and Ratings on Mark's Files View all
Updated File Comment by Comments Rating
27 Jun 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski Mikofski, Mark

download the latest JGit 3.0.0.201306101825-r by using<br/>
>> JGit.downloadJGitJar('path\to\JGIT4MATLAB\@JGit\org.eclipse.jgit.jar')
<br/>
e.g.:<br/>
>> JGit.downloadJGitJar('@JGit\org.eclipse.jgit.jar')
<br/>
Version: 3.0.0.201306101825
<br/>
then restart matlab

29 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski Mikofski, Mark

Hi Muthu, Thanks for the comment. I have added a function, lowercase "jgit.m" one level up and in the same namespace as @JGit so you should be able to just use the command interface that you describe if you put the toplevel (JGit4MATLAB) on your path.

EG: if JGit4MATLAB is on your path, and this is your file structure:

JGit4MATLAB/
\__jgit.m
..\__@JGit/
...\__JGit.m
....\__status.m
.....\__etc. (other methods in class "@" folder)

then you should be able to call the functions without strings as in your examples:

>> jgit status
# On branch master
nothing to commit, working directory clean

>> jgit branch list
gitCheckout
* master

>> jgit checkout gitCheckout

>> jgit status
# On branch gitCheckout
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# jgit.misc
#
# no changes added to commit (use "git add" and/or "git commit -a")

Is this what you are talking about? If not let me know, and thanks again for your feedback!

BTW: the @folder issue was resolved in the 2013-05-28 update.

29 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski Annamalai, Muthu

MATLAB has nice feature of supporting both command and functional interface.
i.e. >> disp('hello-world')
%works as well as,
>> disp hello-world

You may want to improve the command interface to JGIT, since most of the arguments are strings, we don't need to call it explicitly that way.

23 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski Mikofski, Mark

Sorry, folks, I accidentally zipped this up wrong last time, skipping the @JGit folder which is kind of important. I've uploaded a new submission but in the meantime just unzip or copy the contents to a folder on your path called @JGit.

15 May 2013 JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski Mikofski, Mark

FYI:
All commands that deal with remotes and that require authentication, EG: CLONE, FETCH, PULL, PUSH, will *only* work
* with SSH
* with *no* passphrase
* with keys in the openSSH format
* with keys and known hosts in $HOME\.ssh

Obviously remotes that do not require authentication will work fine. EG: public, read-only and local repositories.

SSH is very easy to set up.
1. Download puttygen (Intel x86) from this site:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Disregard the "Intel x86" business, it doesn't matter what processor you have or whether your os is 64-bit or 32-bit. Puttygen is a very mature well establish application that is used by many other applications, for example all of the TortoiseXXX scm clients use Putty, Plink and Pageant
This is the actual download here: (click to download then click to install)
http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exe
2. create a folder called .ssh in your %USERPROFILE%. On Windows 7 this is
C:\Users\<your account name>
and on xp it is
C:\Documents and Settings\<your account name>
You can do this in matlab.
>> mkdir(fullfile(getenv('userprofile'), '.ssh'))
3. create a key using puttygen, this is fairly self explantory, and kind of fun, but do *not* set a passphrase; leave those fields blank!
4. using puttygen, find the conversion menu tab and export the key in the openSSH format to the .ssh folder you created earlier.
5. now copy and paste your public key to your remote repositories (Github, Bitbucket, etc.) as needed. Jsch, which is the ssh client that JGit uses should now work out of the box.

Unfortunately using https isn't possible with JGit4MATLAB. Sorry. but hopefully you'll love the excitement of using ssh key pairs!

Top Tags Applied by Mark
modeling, data exploration, interpolation, mathematics, class
Files Tagged by Mark View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Jun 2013 Screenshot JGit4MATLAB JGit4MATLAB is a wrapper for JGit in MATLAB. It is meant to be used from the MATLAB command window. Author: Mark Mikofski git, scm, dvcs, version control, source control manage..., distributed version c... 20 5
  • 3.0
3.0 | 1 rating
03 May 2013 Screenshot Spline2D or Piecewise Continuous 2D Polynomials Fit a 2D function with piecewise continuous polynomials Author: Mark Mikofski data exploration, interpolation, mathematics, modeling, optimization 21 0
18 Apr 2013 Screenshot polyVal2D and polyFit2D Evaluate 2D polynomials using Horner's method. Fit 2D polynomials to data using backslash operator. Author: Mark Mikofski mathematics, optimization, data exploration, interpolation, modeling 32 0
26 Mar 2012 Screenshot IAPWS_IF97 functional form with no slip Water and steam properties and derivatives based on the IAPWS IF97. Functional form. No slip. Author: Mark Mikofski steam, iapws, chemistry, modeling, hydrodynamics, thermodynamics 16 5
  • 4.66667
4.7 | 3 ratings
01 Mar 2012 myDynamicClass Create a set of objects from a text file. Author: Mark Mikofski data import, class, oop, objects 1 1

Contact us