没有合适的资源?快使用搜索试试~ 我知道了~
Versioning-Git-Matlab.pdf
需积分: 5 0 下载量 45 浏览量
2022-11-05
20:57:40
上传
评论
收藏 1.2MB PDF 举报
温馨提示
试读
13页
Versioning-Git-Matlab.pdf
资源推荐
资源详情
资源评论
1
MATLAB & Git Versioning: The Very
Basics
basic guide for using git (command line) in the development of MATLAB code (windows)
The information for this small guide was taken from the following websites:
http://benheavner.com/systemsbio/index.php?title=MATLAB_git
http://dasl.mem.drexel.edu/wiki/index.php/Git_Tutorial_-_Part_1
http://rogerdudler.github.io/git-guide/
http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-
1#awesm=~oGRovPJT6emrJc
https://codio.com/s/docs/git/git-primer/
This goal of this short guide is to get a simple, working environment for using Git and MATLAB. The
command line is used, so no gui.
Pulling and pushing requests on GitHub will be done using the Gui bash command line.
The best way to learn Git is to create a simple project with a few files in it and then experiment like
crazy. You can play around with all the Git commands and sync with GitHub repos to your heart's
content without worrying about doing any coding.
Topics advanced features like branching are not considered.
2
1 REQUIREMENTS – GETTING STARTED
When Git versioning is being used, it must be installed and a repository must be initialized. Git can
be used from within MATLAB by using a wrapper that can be found on MATLAB Central.
1.1 GIT SOFTWARE
The Git software can be downloaded from http://git-scm.com/download/win
During the installation it is important to enable use from the Wondows command line
In this way the Windows Path is adapted and Git can be used from within other applications like
MATLAB.
1.2 INSTALLING THE GIT WRAPPER
Get the git wrapper from MATLAB Central.
http://www.mathworks.com/MATLABcentral/fileexchange/29154-a-thin-MATLAB-wrapper-for-the-
git-source-control-system
Or from
https://github.com/manur/MATLAB-git
The git wrapper allows you to use the git commands from within the MATLAB environment.
Note: I use a folder on my C-drive containing special MATLAB utilities, this folder is added to the
MATLAB Path, such that the utilities, in this case the ‘git’ command is always accessible from within
MATLAB.
3
1.3 CREATE A LOCAL REPOSITORY
Once git is installed on your computer, it will be available under the Programs Menu
Start the Git Bash command line
In this command window the basic Git commands can be entered.
When starting with versioning, the project folder containing the MATLAB code need to be prepared
for Git.
When using Git, you will need to have a repository. You can start by creating a project repository on
your own local machine (laptop, desktop) first.
Assume your project directory will be called ‘MATLAB_codelifecycle’, and this folder will contain all
the code related to the project
Initialize Git using the (Git Bash) command window
剩余12页未读,继续阅读
资源评论
百态老人
- 粉丝: 1924
- 资源: 2万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- plantuml======资源
- 基于java开发的密码解锁APP,包含手势密码解锁+指纹密码解锁+源码+项目界面展示(毕业设计&课程设计&项目开发)
- 基于单片机的智能窗帘设计
- 基于STM32F103C8T6+LCD1602+MCP6S28的8通道模拟可编程增益放大器Proteus仿真
- 5G RAN NR TDD单用户峰值吞吐率计算过程.pptx
- 基于Objective-C开发的手势密码解锁和面容解锁(代码简洁高效通俗易懂)+源码+开发文档+源码解析(毕业设计&课程设计)
- LangChain学习之 Question And Answer的操作附带数据文件
- linux常用命令大全.zip
- CATIA入门操作案例-正八边异形带孔凸台绘制,等距点绘制正多边形,凸台绘制
- 大型代码语言模型的项目级提示生成pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功