kotowicz / matlab-parforprogress2 Goto Github PK
View Code? Open in Web Editor NEWA PARFOR progress monitor for Matlab
A PARFOR progress monitor for Matlab
request submitted by user via email: "I want to remove execution time message at the end of each run. "
I noticed a severe error in ParforProgress2 when closing/reopening the matlabpool during a MATLAB (R2013a) session:
Try something like
matlabpool open local
ParforProgressStressTest2
matlabpool close
matlabpool open local
ParforProgressStressTest2
matlabpool close
While the first call of ParforProgressStressTest2 works without problem, the second call errors out with
Warning: While loading an object of class 'ParforProgress2':
Undefined variable "ParforProgressClient2" or class "ParforProgressClient2.createClient".
Afterwards one has to close and restart MATLAB in order to make ParforProgress2
work again.
I assume this issue is new to MATLAB R2013a, maybe related to #1?
Would be cool if this could be fixed! Hope this is not an issue in MATLAB itself?
I have used this great tool for some time but it appears to not work in 2014a with the following error. Works on same exact code in 2013b. Please update, this is the nicest parfor progress meter I have found!
Warning: While loading an object of class 'ParforProgress2': Undefined variable "ParforProgressClient2" or class "ParforProgressClient2.createClient". Warning: The following error was caught while executing 'ParforProgress2' class destructor: Attempt to reference field of non-structure array. Error using ParforProgress2/increment (line 121) Attempt to reference field of non-structure array.
Problem statement: #2
Possibly related Matlab issues:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/163362
http://www.mathworks.com/matlabcentral/newsreader/view_thread/287891
http://mathforum.org/kb/message.jspa?messageID=7445456
I'm happy to receive any feedback from those of you working with globals.
I started receiving this today when trying to run parametric sweeps and the progress bar. No changes in my code or yours. There may have been a Java update since last use.
Matlab is 2013a
Java 7 U 51
OS Win 8 64bit (not 8.1)
Error is:
Unknown error while initializing "ParforProgressStarter2":
Undefined variable "ParforProgressServer2" or class "ParforProgressServer2.createServer".
Undefined function or variable 'nbr_files'.
Please let me know what else I can provide to help diagnose. The call to ParforProgressStarter2 is
ppm = ParforProgressStarter2('Parametric Sweep: RSI with RAVI Transformer', row, 0.1, show_debug, run_javaaddpath);
Values for variables are confirmed as:
row = 1140480
show_debug = 0
run_javaaddpath = 0
Thanks,
Mark
Trying to execute ParforProgressStressTest2 with MATLAB R2013a gives an error.
Typing:
matlabpool open
ParforProgressStressTest2
outputs:
Warning: While loading an object of class 'ParforProgress2':
Undefined variable "ParforProgressClient2" or class "ParforProgressClient2.createClient".
Warning: The following error was caught while executing 'ParforProgress2' class destructor:
Attempt to reference field of non-structure array.
Warning: While loading an object of class 'ParforProgress2':
Undefined variable "ParforProgressClient2" or class "ParforProgressClient2.createClient".
>> execution time was 0.64s.
Error using ParforProgress2/increment (line 121)
Attempt to reference field of non-structure array.
There is no error without the matlabpool command, or using R2012b.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.