Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9007221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:37:46+00:00 2026-06-16T01:37:46+00:00

I have a large .mat file. I call it D.mat . It has a

  • 0

I have a large .mat file. I call it D.mat. It has a cell inside it (D.X is a cell array). I need to add more data to the end of its only column and I cannot load it into the memory.

I read about this function: memmapfile and Mapping Multiple Data Types and Arrays section, but it seems that I should know the structure of the data and in fact the D.X elements has no definite structure.

I thought maybe there is a function like fgetl for these kind of situations (I mean read the file to its last index (or row) and then write to it).

Is it possible?

Any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:37:48+00:00Added an answer on June 16, 2026 at 1:37 am

    If you have access to version R2011b or later, you can use the matfile command to load and save parts of variables in a .mat file, without loading the data into memory. See doc matfile for more information and some examples.

    fgetl is not what you need: it’s for reading lines from a text, not .mat file. memmapfile also requires that the data file be laid out in a regular structure, which is not the case for a .mat file.

    Before R2011b there is no way I know of doing what you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have large set of data in an array from like this, 1
I have a large structure in a MAT-file. I want to check if a
Interpolating Large Datasets I have a large data set of about 0.5million records representing
I am developing an application which doesn't have large requirements for data storage. I
I have large sets of data but somewhere in columns there is missing data
I have a large heap dump file in the remote server. And I run
Lets say I have an array of interlaced data, such as 1a2b3c4d5e, and I
I have a large function which has a vector defined as follows: v <-
i have large numbers of text files and i am in problem that i
I have large table, with around 200 fields. Around a 100 of those fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.