Error loading .mat files
显示 更早的评论
Hi ALL,
I am trying to load the parameters (.mat file) in matlab, however I am getting the following error:
>> load('GetOptmzInput.mat')
Error using load
Cannot find an exact (case-sensitive) match for 'Timeseries'
The closest match is: timeseries in C:\Program Files\MATLAB\R2016a\toolbox\matlab\timeseries\@timeseries\timeseries.m
I am reltively new to matlab and I have never ran a code which has the input and output stored in parameters.
Can someone please help me undersatnd what should I do to resolve this issue.
Any help would be apprecialted.
Thank you very in advance.
2 个评论
Spencer Chen
2020-1-31
Don't know if anyone can help you without knowing the content of 'GetOptmzInput.mat'.
Blessings,
Spencer
Rik
2020-1-31
It is always a good idea to load to a struct. That way it is clear where your variables come from.
S=load('GetOptmzInput.mat');
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!