美文网首页
run matlbab in sublime

run matlbab in sublime

作者: LFBuildMountain | 来源:发表于2018-04-24 18:28 被阅读0次
  1. create new Build System
    Tools -> Build System -> New Build System,a new json file
{
    "cmd": ["E:/Softwares/MATLAB/R2014a/bin/matlab.exe", "-nodesktop", "-nosplash", "-r", "\"run('$file')\""],
    "selector": "source.m",
    "working_dir": "${project_path:${folder}}"
}

matlab -nosplash -nodesktop -r ${file_base_name} : open matlab and run file without .m extension
nosplash: don't load startup window
-nodesktop: don't open GUI window
-r: run matlab command window
file_base_name: file name without extension

type Ctrl+B
sublime will open MATLAB_command to compile file

modify file in sublime and save.
type file name in matlab_command window to recompile it.

reference:
https://www.jianshu.com/p/5c65a95c7137

相关文章

  • run matlbab in sublime

    create new Build SystemTools -> Build System -> New Build...

  • 小想法

    1.编辑器是如何做到简单的RUN的?自带的build系统还是调用外部的cmd命令? 示例:sublime text...

  • run,run,run

    you are the light in my life for that, i keep chasing all...

  • Run Run Run

    这周是重新搬回0号楼的第一周,总体来说过的好不错。跑步离操场也进了,跑着更方便了。 跑步?就提上了日程安排。感觉最...

  • 今日份打卡 179/365

    Mac sublime 3207 试用配置 安装~ 备份sublime:/Applications/Sublime...

  • Windows上Win+R启动Sublime

    下载Sublime安装之后打开Sublime的安装目录假设是D:\Sublime Text 3 复制sublime...

  • Linux下sublime无法输入中文

    Linux:Arch sublime:sublime-text-dev 安装:pacman -S sublime-...

  • 使用sublime3本地同步编写botvs发明者策略

    FMZ - Sublime Plugin FMZ - Sublime Plugin使用此插件Sublime可以同步...

  • Mac安装Sublime Text3

    下载Sublime 可从下面链接下载Sublime Text 3 配置命令行打开Sublime sublime是有...

  • I will run run run

    办公室的老师们 夸完我之后 一致挥手 让我逃!! 认为 我值得拥有 更好的选择 工作和人生! 嗯 可是说是 与我心...

网友评论

      本文标题:run matlbab in sublime

      本文链接:https://www.haomeiwen.com/subject/skajlftx.html