Loading MAT file problem

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)

write the whole word in lowercase :
load('1st_part_result.mat')

1 Comment

many thanks. it is working well now.

This question is closed.

Asked:

on 6 Feb 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!