Help opening a .mat file

Hi,
I am new to labview and need some assistance trying to open a .mat file for further analysis (example file attached). The file formate is level 5 and I believe the data is in arrays. I do not have access to confirm the structure but have been told the layout of the data i need to access follows the following structure: MotionFile_walkaround -> Actor_50_human -> Segments -> Sacrum -> Pose.
I have successfully read the header and found that byte swapping is required. I have downloaded the Mat-File IO library but have had no success in reading the actual data set beyond the header but assume this is due to my inexperience with both .mat files and labview. 
Any help would be greatly appreciated.
Attachments:
walkaround.zip ‏1527 KB

Hey doofus13,
When reading your .mat file, created in The MathWorks, Inc. MATLAB® software, I recommend using the MATLAB® DataPlugin found here:
MATLAB® DataPlugin
http://www.ni.com/example/29178/en/
Then, you can use the Data File Viewer function to view all of the data in your file. Any data that can be seen in the Data File Viewer can then be extracted using the Data Storage API. I looked through the file you provided and was able to view and extract the data contained in the file using the Data Storage API so it should work fine for you.
MATLAB® is a Registered Trademark of The MathWorks, Inc.
Hope this helps!
--Ryan_S.

Similar Messages

  • How to open a .MAT file in LABVIEW

    Hey everyone,
    I currently have a .MAT image file which I would like to open in LABVIEW to apply some image filters. However, I am unsure as to how to open the .MAT file in LABVIEW. Ideally I would like to be able to open the .MAT file without using matlab, and it seems the only way to accomplish this task is through the mathscript node. I have attached an example of the image im trying to open, as well as the LABVIEW program which I would like to use on the image. Thanks for the feedback! =]
    Attachments:
    MAT_Image_Adjust.zip ‏1779 KB

    Hi Boiler,
    1) Do you have a choice in the format you export your data from MATLAB?
    "ASCII Format
    Complete the following steps if you want to import or export data between LabVIEW and the MATLAB® environment, the process is straightforward as long as you are using ASCII format.
    From the MATLAB® environment to LabVIEW
    To save a vector or a matrix Xin ASCII format with tab delimiter, enter the following in the command window or m-script file in the MATLAB® environment:   
    >>SAVE filename X -ascii -double -tabs
        This creates a file whose name is filename, and it contains the data X in ASCII format with a tab delimiter.
    Import the file into LabVIEW using the Read From Spreadsheet File VI located on the Programming»File I/O palette.
    2) Have you tried using the mathscript node? Did you get any errors?
    "Binary Format
    Complete the following steps if you want to import or export data between LabVIEW and MATLAB®.
    From the MATLAB® environment to LabVIEW
    To read a .mat file in LabVIEW would require a VI to parse the file. This may be easier if each variable is saved to a separate file.
    " -- this was done here, no ideas if it still works,
    I want to read a Matlab MAT file into labview
    Hope this helps, James
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Need help opening a pdf file

    How can I get help opening a pdf file?  I have been asking for help for over an hour now, I need this file, it is password protected,
    and I have set a new password, with still no help, still can't get the file to open, just what do I need to do, it is my 2011 tax return,and
    I need to have it. I hope someone cares enough to help me with this. I am so frustrated at this point, I just don't know where to turn now.
    Janet Lechner
    [email address removed]

    What is your operating system?
    What is your Adobe Reader version?
    What is the problem when trying to open that PDF document?
    Who password-protected that file?

  • Need Help Opening a Corrupted File in MS Office Word 2007.

    I use Microsoft Office Word 2007. I need help in opening a corrupted file. I tried to open but am getting messages: "cannot be opened", "unreadable content", "do you want to recover contents?" "Do you want to search
    for a converter?"
    Anyone have any ideas on how I can get this file to open? :/
    Thank you,
    Chuck in California

    From Microsoft Documentation:-
    If a file has been damaged and you cannot open it by normal means, you may be able to recover its content by using the Open and Repair
    feature.
    Click the
    Microsoft Office Button
    Browse to the file that you want to recover, and click it (do not double-click it).
    Click the arrow next to the
    Open button, and then click Open and Repair.
    You might also like to look at this (which is just a longer version of what's above):-
    http://support.microsoft.com/kb/893672?wa=wsignin1.0 

  • Help opening a .wps file on my macbook...

    i just recently got a macbook, and i love it, but am still new to it.
    i have some word documents on my external hard drive that are saved from my old windows based computer that i would like to open on my mac as the windows computer doesnt work any more.
    any help with this would be appreciated.
    thanks!

    worse case?
    download and install OPEN OFFICE.
    you can open WPS (wordperfect files) with no problems...

  • Need help opening old Appleworks file

    Hi all I have been searching the forums and seem to come up with well lets say I'm screwed,,,I am trying to help out my uncle who had a mac back in the day and had made some what appears to be some appleworks documents that I cant open,the documents are on floppies which I was able to pull some pictures off and convert them to .jpeg's but I cant open the other files,,,I have tried OpenOffice and Office for Macs but no luck,,,can anyone help with this or tell me how to do this,,I'm not real good with Macs seeing i've been only using one for 6mths ,,,,

    You could use AppleWorks 6 in OS X or AppleWorks 5 in Classic to open the files. You could try eBay and do a search for "AppleWorks" or "Apple Works" (some people put a "space" in the name). Hardcore Mac sells AppleWorks 6.2.4.
    If there are just a few files (less than 10), you can e-mail them to me & I will convert them (to text, Word, Excel, PDF) & send them back.

  • Need help opening a few files on InDesign (plugin help)

    Trying to open up some files from flash drive on InDesign, it says "the document uses one or more plug-ins which are not currently available on this system" and then says "Cannot open...Please upgrade your plugins to latest version or upgrade to newest Adobe InDesign" Any help? Thank

    Hello,
    You might find your answer here.
    InDesign
    P.

  • Help opening a PDF file via my email on iPhone 3gs

    Does anyone know how to do this?

    If you need to keep a copy on the phone, you can press and hold on the attachment and select open in iBooks, Files, or a different pdf reader.

  • Need help opening Unix Executable Files

    I've recently been given the task of updating various files containing instruction manuals. However, the person who created these files is long gone and no one seems to know what program they were created in. All I know is that they are listed as "Unix Executable File" when I click on the document. I've tried opening them in TextEdit and this does me no good. Does anyone know how I can determine what program these files were originally created in so that I can open them?

    Files that have no filename extensions (used by Windows and OS X, but not by OS 9) and have lost their Type and Creator codes (used by OS 9, but not by Windows or OS X), and are then written to a DOS-formatted disc by OS 9 and copied back to a Mac disc, are usually if not always misidentified by the OS X Finder as Unix executables.
    Your company's old files, created in applications that ran in OS 9, probably have never had any filename extensions. Their Type and Creator codes have evidently been lost; those are what OS 9 uses to link the files to the applications that created them. If the files have also been written by OS 9 to any disk or flash drive formatted for Windows, i.e. FAT16 or FAT32, they have also lost their resource forks. The resource fork is a portion of a Mac file that has no analogous structure in a PC file. When a Mac file that contains data in its resource fork is written by OS 9 to a PC-formatted storage device, there's no place in the Windows file structure for that data — so it is simply discarded. When the Mac file is later copied back onto a Mac-formatted storage device, its resource fork is gone along with whatever data it contained, and the file may for all practical purposes be destroyed. OS X handles writing Mac files to Windows-formatted drives more gracefully, but passing files back and forth between OS 9 and OS X via a Windows-formatted storage device is asking for trouble.
    I don't know just what practices have been used in moving these files from the Macs they were created on to the one you're trying to open them on now, but I suspect there has been some unwitting demolition in the process.
    If copies of these files are still stored on the old Mac on which they were created, and that Mac still works, get on it and double-click the saved copies of the files to open them in the program(s) that created them, and make notes of which application opens each of the files. Be aware that the folder structure containing the files may have to be preserved exactly as it is for the files to open properly — do not reorganize anything. It may be essential, for example, for a PageMaker file to be kept in the same folder as all the individual files that have been "placed" in it using the Place command in PageMaker. If any of those files are moved elsewhere, they may be missing from the PageMaker document when it opens. I've never used Quark or Freehand, so I don't know whether they have the same requirement, or other requirements that are less than obvious.
    Any of the old manuals that you're able to open in their original applications can be saved as PDF files using an invaluable OS 9-based "printer driver" called PrintToPDF. They can then be opened in Adobe Reader or Preview on your G5 running OS X, though you won't be able to edit them easily. If you require the ability to edit these files on the G5, rather than on the old computer using the apps that originally created them, you will need first to discover which OS 9-based application created each one, and then ascertain what if any current OS X-based application is able to open the file format used by that old application. In the case of PageMaker files, that will probably be Adobe InDesign or nothing. InDesign may also open old Quark files; I don't know. Aldus or Adobe Freehand files may be openable using Adobe Illustrator. These are just guesses.
    Dragging and dropping the files onto MS Word or TextWrangler may reveal, buried somewhere in them, the name of the application(s) that created them. I know a PageMaker file, opened as plain text, will always contain the word "PageMaker". As for other file formats, I'm not sure.
    Message was edited by: eww
    Message was edited by: eww

  • Need help opening an old file

    I have some files that go back to a database application called Microsoft File which has long since stopped being supported by Microsoft. Is there a utility that might be able to open these old files?

    I think this is a database app that ran under system 8.

  • Need help opening oooooooooold clarisworks files

    Im helping an elderly man open his diseased wife's files that were in Clarisworks (2)? He has an old Performa 575 (yeah--I know...). I have a older version I went to install but the 3rd floppy gives me a read/write data error. I cant complete the install.
    What Performa 575 app will open old CW's files? I tried installing Appleworks and no-go. This is pre PPC times here...
    Does Apple have a d/l for old Clarisworks 2?
    Thanks. This would make an old man's day to see his wife's old teaching files...
    Steve

    Steve Woron wrote:
    Appleworks does NOT work or even install in a Non-PPC Mac.
    Considering Steve's original post, I suspect he's referring to Pre-PPC Macs rather than the Post-PPC (intel) Macs.
    The Performa 575/LC 575 used the 68LC040 processor, the last of the 68000 series. The PPC Performas had 4 digit model numbers.
    Considering the dates of manufacture of the 575 (1994-1996), the bundled software likely included ClarisWorks 2 or CW3. I know that we had AppleWorks 5 on the ones that were still around in 2004.
    Claris change the file formats between versions 2 and 3 or between 3 and 4, and a separate free translator app was available at that time to allow moving files between versions (in either direction).

  • Help~open hub destination file is not open error!

    Hi all,
    I met a problem, i tried several times and all got error messages.
    It is about open hub destination, i want to use it to send some files to sever, but when i execute the DTP, i got system dump:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Runtime Errors         DATASET_NOT_OPEN
    Except.                CX_SY_FILE_OPEN_MODE
    Date and Time          26.10.2011 01:18:09
    Short text
        File "I:\usr\sap\Q26\DVEBMGS11\work\ZSS_O0021.CSV" is not open.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_RSB_FILE_APPLSRV===========CP" had to
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I have two open hub, one is fine ,but the rest one always get this error. Help..........

    Thanks! I checked my ID and found that i have the role to access this folder.
    Then i found that our Q system have two servers, A and B, for open hub i should run my process chain in system B, but i forgot that, so i got error. After i changed to sever B, i re-active my open hub and DTP, then re-fresh the process chain and re-executed it again, the error disappeared.

  • NEED HELP OPENING SAVED ADOBE FILE

    I had some important info saved on a disc (an adobe reader file).  I hadn't tried opening it in a while but when I try opening it it says something about a file i/o error.  Is there a solution or is the info lost?  I don't know if it has anything to do with the different laptops because I remember being able to view it on my old laptop.  Please help!

    petey*ray wrote:
    I TRIED TO SAVE IT TO THE HARD DRIVE AND OPEN IT BUT IT WOULD NOT EVEN SAVE IT. THERE WAS ANOTHER ERROR MESSAGE.  BUT THANK YOU SO MUCH.  WHAT CAUSES A CORRUPT FILE?
    If you couldn't save it to your drive then it's probably a corrupt disk rather than a corrupt file.
    As far as causes for corrupt files, there can be many causes. The disk could be corrupt because it wasn't formatted correctly (and your OS won't read it), it could be scratched, just a plain old bad disk (I test all of mine before sending them to anyone)...etc. Again, many reasons it could be bad.
    Unfortunately, it sounds like you won't be able to save your file.

  • Help opening a Photoshop file

    Hi Everyone
    I have a large photoshop file 1GB that I have been working on. It was working fine, until yesterday, then when I tried to open it, it says "could not complete your request because of a program error".
    I have tried to place it in Indesign, Illustrator, convert it to PDF, but no luck.
    Any help would be appreciated. If there are any Freeware programs that might help if required would also be an advantage.
    Many Thanks Neil 45156

    Try XnView (PC) or Graphics Converter/ Grafikkonverter (Mac). If the file was saved correctly, you might at least be able to extract a flattend version this way and safe it to a different format. There's a couple of other tools that can load and write layered PSDs such as various of the Corel Tools (Painter for instance), but they don't support any advanced features introduced over the years, so you may loose info, even if the file opens.
    Mylenium

  • Help opening windows livecycle file in adobe x pro for mac?!

    i have a .tds file that was created in livecycle designer on a windows platform that i would like to edit. However I am now using a mac and have adobe pro X...
    help???!!

    What sort of editing do you want to do? LiveCycle Designer is not available for the Mac, but you should be able to modify a TDS file with any text editor since it will be XML.

Maybe you are looking for

  • How to Print with HP laserjet 1020 on i Pad Mini

    Is it possible to Print frm a i pad mini on a HP laserjet 1020 with a cable connection?

  • Spatial data

    Hi Could you please let me know How will interact with mapviewer backround image,Themes and Style and table data.Give me with example. As per my knowlegde below table performing all the task but i am not unserstood how.Could you please let me know th

  • My iPad won't sync with iCloud anymore, iPhone and Mac are fine, suggestions?

    I have NO calendars showing up in iCal, no lists in reminders, no contacts. I've deleted the iCloud account on the iPad and resigned in - no help. All the settings for accounts are the same on my iPad and iPhone. Curiously, I get no "Default Calendar

  • Long distance iMovie project collaboration?

    Hey guys/ladies, I am working on a website with a friend who lives in Virginia, while I live in Atlanta.  We want to collaborate on iMovie projects for the website (mainly 1 min or so video clips, with pictures, titles, text, transitions, etc added).

  • Quick Question on Arrays.fill() Method

    Does this work for a multidimensional array? I've tried and I can't get it to.           double stuGrade[][];           stuGrade = new double[3][125];           Arrays.fill(stuGrade, -1); //Have also tried Arrays.fill(stuGrade[][], -1) error: Cannot