Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 29 results for
nodisplay
- Page 1
help with this hiding text example Javascript
Programming
Web Development
18 Years Ago
by narsto
…;/title> <style type="text/css"> .
nodisplay
{ display: none; } </style> <script type="text… theElement; theElement = document.getElementById("test"); theElement.className="
nodisplay
"; --> </script> </head> <body…
Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Valmian
… directory command=self.runInfo.matlab+' -logfile '+logfile+' -nojvm -nosplash -
nodisplay
-r '+scriptname print "matlab command=|"+command+"|\n…] filename=self.runInfo.matlab argin=(' -logfile ',logfile,' -nojvm',' -nosplash',' -
nodisplay
', '-r', scriptname) os.spawnv(os.P_WAIT,filename,(filename,)+argin) [/CODE…
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Valmian
… way: [code=python] command=' -logfile "'+logfile+'" -nojvm -nosplash -
nodisplay
-r '+scriptname print "matlab command=|"+self.runInfo.matlab…
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Valmian
….... [code=python] command=self.runInfo.matlab+' -logfile '+logfile+' -nojvm -nosplash -
nodisplay
-r '+scriptname print "matlab command=|"+command+"|\n…
char parameters
Programming
Software Development
17 Years Ago
by eyehategod
…; counter:int16; iAddress:int32; procedure myFunction(aChar:byte;counterx:int16);@
nodisplay
;@noframe; begin myFunction; pop(iAddress); pop(counterx); pop(aChar); push…
Urgent : Question on editing a python program ....
Programming
Software Development
16 Years Ago
by fmv2011
… = (alpha3/(2.*3.1415927)**0.5)/var3 cmd = "matlab -
nodisplay
<< EOF %s t = 0:0.001:14; %s…
Calling matlab.m file from Python
Programming
Software Development
13 Years Ago
by SnehalBPatil
… = Popen("/Applications/MATLAB_R2009a.app/bin/matlab.exe -nojvm -nosplash -
nodisplay
-r /home/spatil/LineShapeKin_Simulation_4/LineShapeKin_Simulation_4.1/Matlab_code/Simulate.m"…
Django calling matlab function
Programming
Software Development
13 Years Ago
by SnehalBPatil
…/') os.system('/usr/local/MATLAB/R2011b/bin/matlab -nojvm -nosplash -
nodisplay
-r runscript') [/CODE]
Re: "open with openjdk" is missing from the menu
Hardware and Software
Linux and Unix
10 Years Ago
by cereal
…=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay
=true X-Ubuntu-Gettext-Domain=app-install-data Hope it…
Re: help with this hiding text example Javascript
Programming
Web Development
18 Years Ago
by digital-ether
<div id="test"> doesn't exist when your script is being run. Usually, when you are working with the DOM, you would like to wait untill the whole DOM is loaded. try running your code afer the window is loaded. window.onload = function() { // .. your code }; or use the specific event attachment functions for different browsers.…
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Ene Uran
Module subprocess, specifically subprocess.Popen(), has a wait() method. Here is a typical example: [code=python]# using module subprocess to pass arguments to and from an # external program: import subprocess # put in the corresponding strings for # "mycmd" --> external program name # "myarg" --> arg for external…
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Valmian
I tried to substitute os.system for subprocess.call but that did not help. Ilya P.S: I posted this before Ene Uran's post, I'll try your suggestion now.
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Ene Uran
May be because your code block indentations are screwed up.
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Valmian
[QUOTE=Ene Uran;786151]May be because your code block indentations are screwed up.[/QUOTE] just checked, it seems that the indentation is correct....
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
16 Years Ago
by Valmian
I am currently using time.sleep() function, I guess I'll make some work around with matlab generating a temp file marking operations "complete" which python will wait and check periodically. I just wish something less ugly could be done. -Ilya
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
13 Years Ago
by zeterp
The problem apparently has to do with the way the command line matlab launcher operates in Windows. The launcher spawns a separate process and then immediately exits unless you use the -wait flag.
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
13 Years Ago
by bjerke
Warning concerning Popen.wait() This will deadlock when using stdout=PIPE and/or stderr=PIPE and the child process generates enough output to a pipe such that it blocks waiting for the OS pipe buffer to accept more data. Use communicate() to avoid that. [URL="http://docs.python.org/library/subprocess.html"]http://docs.python.org…
Re: Running a subprocess and waiting for it to return.
Programming
Software Development
9 Years Ago
by Jim_9
I had a similar problem when I was trying to run Excel. If would work if Excel wasn't running, but would fail when other instances of Excel were already in memory. The code shown below worked for me. I think it might work with programs like Matlab that spawn subprocesses, because child processes inherit stdin and stdout from their parent. from…
Re: char parameters
Programming
Software Development
17 Years Ago
by Duoas
You'll need to check your compiler's documentation. If you are using gcc, you can compile with the -S (that's a capital S) option to test some assembly code and look for yourself: [code=C] char foo( char c ) { return c +1; } int main() { return foo( 0 ); } [/code] Using [inlinecode]gcc -S foo.c[/inlinecode] gets you an assembly …
Re: char parameters
Programming
Software Development
17 Years Ago
by JAWABREH
can you explan this example
Re: char parameters
Programming
Software Development
17 Years Ago
by Duoas
I'm sorry. My brain must have failed me when I posted last. I thought you were trying to interface with a C function. What language are you trying to use?
Re: char parameters
Programming
Software Development
17 Years Ago
by eyehategod
im using assembly language
Re: char parameters
Programming
Software Development
17 Years Ago
by Duoas
Can you be less specific?
Re: char parameters
Programming
Software Development
17 Years Ago
by Duoas
Hey, I'm sorry. Let me be a little more helpful. If the stack only permits word values, put your char in the low-order byte of a word and push it on the stack. When you are in your proc, access the word on the stack containing your char, and just use the low-order byte in the routine. It looks to me like you are programming on an x86. To …
Re: char parameters
Programming
Software Development
17 Years Ago
by eyehategod
yeah I figured it out and that's exactly how I did it. Thanks for your help.
Re: Calling matlab.m file from Python
Programming
Software Development
13 Years Ago
by Gribouillis
The way you wrote your command, an argument [icode]shell = True[/icode] is necessary in Popen(). See also this snippet [url]http://www.daniweb.com/software-development/python/code/257449[/url]
Re: Calling matlab.m file from Python
Programming
Software Development
13 Years Ago
by SnehalBPatil
Its worked!!!!!!!Thanks....
Re: Calling matlab.m file from Python
Programming
Software Development
11 Years Ago
by frenchfrog
Hello ! I'm trying to do a similar thing here. I managed to have Matlab launch, and run my Matlab file as the GUI of my matlab function is shown on screen. However it only stays on screen for 1 second, and Matlab closes ! import subprocess as sp command = """/Applications/MATLAB_R2012b.app/bin/matlab -r "cd(…
Re: Calling matlab.m file from Python
Programming
Software Development
11 Years Ago
by Gribouillis
Moved to [new thread](http://www.daniweb.com/software-development/python/threads/459726/calling-matlab-from-python-subprocess)
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC