About: Run matlab script   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

I have the following scripts in my $PATH: matlab-ctrl.py #!/usr/bin/python2 from subprocess import call from subprocess import check_output import sys wcmd = ["xdotool","search","--name","MatlabT"] w = check_output(wcmd) w = w.replace(' ','') if len(sys.argv) > 1: s = sys.argv[1] cmd = ["xdotool","key","--window",w] for i in range(len(s)): cmd.append(s[i]) cmd.append("Return") call(cmd) matlab-launch.sh

AttributesValues
rdfs:label
  • Run matlab script
rdfs:comment
  • I have the following scripts in my $PATH: matlab-ctrl.py #!/usr/bin/python2 from subprocess import call from subprocess import check_output import sys wcmd = ["xdotool","search","--name","MatlabT"] w = check_output(wcmd) w = w.replace(' ','') if len(sys.argv) > 1: s = sys.argv[1] cmd = ["xdotool","key","--window",w] for i in range(len(s)): cmd.append(s[i]) cmd.append("Return") call(cmd) matlab-launch.sh
Version
  • 7(xsd:integer)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 0(xsd:integer)
Category
  • Matlab
Subpage
  • /201207
Complexity
  • basic
Created
  • 2012-07-30(xsd:date)
ID
  • 0(xsd:integer)
NEXT
  • 0(xsd:integer)
abstract
  • I have the following scripts in my $PATH: matlab-ctrl.py #!/usr/bin/python2 from subprocess import call from subprocess import check_output import sys wcmd = ["xdotool","search","--name","MatlabT"] w = check_output(wcmd) w = w.replace(' ','') if len(sys.argv) > 1: s = sys.argv[1] cmd = ["xdotool","key","--window",w] for i in range(len(s)): cmd.append(s[i]) cmd.append("Return") call(cmd) matlab-launch.sh #!/bin/bash texfile="$1" terminal -e "/opt/MATLAB/R2011a/bin/matlab -r clc -nosplash -nodesktop" -T MatlabT --hide-menubar &> /dev/null & # try to return focus to GVIM xdotool search --class --name "${texfile}.*GVIM" windowactivate &>/dev/null exit 0
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software