Info

This question is closed. Reopen it to edit or answer.

Loading MAT file problem

1 view (last 30 days)
Adel Gohari
Adel Gohari on 6 Feb 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
My code is in 2 parts. I've run the code for the first part and got value of all variables either in single value or matrices. Then saved them as a single mat file named "1st_part_result".
in the beginning of the 2nd part of the code, input "Load '1st_part_result.mat';" , but it shows the following error:
Undefined function 'Load' for input arguments of type 'char'.
Error in main_program (line 7)
Load ('1st_part_result.mat')

Answers (1)

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH on 6 Feb 2020
Edited: JESUS DAVID ARIZA ROYETH on 14 Feb 2020
write the whole word in lowercase :
load('1st_part_result.mat')
  1 Comment
Adel Gohari
Adel Gohari on 6 Feb 2020
many thanks. it is working well now.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by