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

  • SEARCH
  • Home
  • 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 7852133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:21:01+00:00 2026-06-02T19:21:01+00:00

I am loading a file in matlab, but it is being loaded as an

  • 0

I am loading a file in matlab, but it is being loaded as an empty variable.

positive    0x0    []

and am using

 load positive.txt

but the file is not empty. Is the something am wrong?
P.S. I have loaded other files from the same folder successfully. Also I tried to rename it to positive.dat but that also didn’t work. And it was an excel file that I saved as an text file.

and the first couple entries of the file, copied & pasted

04  10  19
04  10  36
04  10  28
04  16  16
04  14  01
04  20  21
04  20  06
04  20  28
04  13  14
04  13  17
04  13  02
04  01  16
  • 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-02T19:21:02+00:00Added an answer on June 2, 2026 at 7:21 pm

    load command is only for MAT-files (file extension .mat) or ASCII files saved in MATLAB format, usually in MATLAB using save command. For all other file formats you should use some other command.

    For text files you can use fopen, fscanf, fclose. For binary files you can use fopen, fread, fclose. fopen opens the file for reading and/or writing, fscanf or fread read data from file (fscanf reads text, fread binary data) and then fclose closes the file.

    For Excel files you can use xlsread. xlsread does not need fopen or fclose.

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

Sidebar

Related Questions

Shoes.app do flow do file = something with variable length para Loading #{file}: progress
When loading a file, lets call it foobar.txt , like so: :b foo<tab> Where
On linux, I am loading a file into a database using psql and the
While loading an XML file in SSIS using an XML source component , i
I am loading an XML file using jQuery $.get. after loading the content, i
trouble loading html file from plist to webView using following code in FAQDetailViewController.m: -
Trying to load a file into python. It's a very big file (1.5Gb), but
Clearly I must not be doing something right but this happens on random occasions.
I am using a text file to read values from and loading this file
First I created an application loading epub file content into UIWebView. But the content

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.