Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
08 Oct 2009 Submit MATLAB functions to a cluster Run MATLAB functions on a gridengine/torque/PBS cluster Author: Volkmar Glauche Jveer

thanks for the reply. unfortunately i havent managed to get this to work on xgrid. it would've been superb for processing simulations.

29 Sep 2009 Generate .m-file code for any MATLAB variable Generate .m script code for any MATLAB variable. If run, the code recreates the input variable. Author: Volkmar Glauche Chamane

helpfull
Mike from http://www.abcourses.fr

08 Jul 2009 Clean up context of anonymous function handles - bug #328733 This submission provides a workaround for MATLAB bug #328733. Author: Volkmar Glauche Glauche, Volkmar

This should actually work in older releases, too. My focus was on the eval() solution because the idea came from http://www.mathworks.com/matlabcentral/fileexchange/24447, where I generate code for arbitrary variables. This code of course needs to be evaluated.

07 Jul 2009 Generate .m-file code for any MATLAB variable Generate .m script code for any MATLAB variable. If run, the code recreates the input variable. Author: Volkmar Glauche Glauche, Volkmar

I decided not to have this compact mode because lines may get really long. But I will think about it again.

03 Jul 2009 Generate .m-file code for any MATLAB variable Generate .m script code for any MATLAB variable. If run, the code recreates the input variable. Author: Volkmar Glauche Schreiber, Gabriel Akira

This is exactly what I was looking for, thank you very much.

One suggestion remains though:
1: A 'compact' mode without unnecessary spaces to conserve space

02 Jul 2009 Clean up context of anonymous function handles - bug #328733 This submission provides a workaround for MATLAB bug #328733. Author: Volkmar Glauche us

note: since r2009a you can do this

     f1=@(x) mod(x,2);
     f2=str2func(func2str(f1));

- the private workspace issue is the same...

us

23 Jun 2009 Submit MATLAB functions to a cluster Run MATLAB functions on a gridengine/torque/PBS cluster Author: Volkmar Glauche Glauche, Volkmar

Hi Jveer,
the MATLAB code should work on mac osx. However, you will need to modify qsub_submit_cm.m and qsub_check_finish.m. You will have to replace the qsub and qstat calls with their xgrid equivalents.
In qsub_submit_cm, you will have to replace the qsub command line call with the appropriate call to "xgrid ... -job submit ...", and in qsub_check_finish.m you would replace the qstat calls with "xgrid ... -job status ..." or something like this.
I do not have any experience with mac osx or xgrid, but it should be fairly straightforward to adapt these calls. If you have any questions, feel free to ask. If you get this code to run, it would be nice to let me know about the appropriate xgrid commands.

22 Jun 2009 Submit MATLAB functions to a cluster Run MATLAB functions on a gridengine/torque/PBS cluster Author: Volkmar Glauche Jveer

this might just be what i'm looking for! does this work on xgrid on mac osx server?

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com