loading .mat file from command line

72 views
Skip to first unread message

Arka

unread,
Jan 15, 2012, 5:17:55 PM1/15/12
to CERR FORUM
Hi

Does anyone know how to load a *.mat.bz2 archive from command line,
without using the GUI?

Thanks,

Arka Roy
Message has been deleted

Scott Hadley

unread,
Jan 17, 2012, 2:09:28 PM1/17/12
to CERR FORUM
Hi,

There is a script for decompressing the bz2 file. All it does is call
a command line tool to do the decompression and save the file to the
disk. Then you load that .mat file.

HTH,
Scott

ap...@mskcc.org

unread,
Jan 17, 2012, 2:12:43 PM1/17/12
to cerr-...@googlegroups.com
Here is a code sample to do this:

planC = loadPlanC(cerrFileName,tempdir);
planC = updatePlanFields(planC);
indexS = planC{end};

- Aditya

 
     =====================================================================
     
     Please note that this e-mail and any files transmitted from
     Memorial Sloan-Kettering Cancer Center may be privileged, confidential,
     and protected from disclosure under applicable law. If the reader of
     this message is not the intended recipient, or an employee or agent
     responsible for delivering this message to the intended recipient,
     you are hereby notified that any reading, dissemination, distribution, 
     copying, or other use of this communication or any of its attachments
     is strictly prohibited.  If you have received this communication in 
     error, please notify the sender immediately by replying to this message
     and deleting this message, any attachments, and all copies and backups
     from your computer.

Arka Roy

unread,
Jan 18, 2012, 8:08:06 PM1/18/12
to cerr-...@googlegroups.com
Thanks a lot for the help guys. Appreciate it. 

Arka

--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
To post to this group, send email to cerr-...@googlegroups.com.
To unsubscribe from this group, send email to cerr-forum+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cerr-forum?hl=en.

Arka Roy

unread,
Jan 18, 2012, 8:48:41 PM1/18/12
to cerr-...@googlegroups.com
Aditya, 

Unless I keep the CERR GUI window open, I get the following error when I try to re-run IMRT dose calculations.

??? Attempt to reference field of non-structure array.

Error in ==> MLVersion at 23
version = stateS.MLVersion;

Error in ==> updateStructureMatrices>uniformAdd at 277
if MLVersion < 6.5

Error in ==> updateStructureMatrices at 229
        planC = uniformAdd(structM, scanNum, sliceNumsV,
        relStructNum, planC);

Error in ==> robust at 324
                    planC = updateStructureMatrices(planC,
                    posi);

It's only when the GUI remains open, the IMRT dose calculations run fine. Any idea why?

Thanks, 

Arka
Reply all
Reply to author
Forward
0 new messages