Error while loading data with figure

조회 수: 1 (최근 30일)
Rafnuss
Rafnuss 2015년 9월 24일
댓글: Dasharath Gulvady 2015년 9월 28일
I saved in a .mat file a bunch of variables, amongst which severale figure. When I try to load the file a receive the following error:
Operands to the || and && operators must be convertible to logical scalar values.
Error in matlab.graphics.internal.SubplotListenersManager/set.helper (line 58)
I noticed that the error only shows-up when I running with the debugger on "stop on error". To load the data, I am using:
load(['data_gen/data/' gen.filename], 'K_true', 'g_true', 'rho_true', 'K', 'g', 'G','grid', 'gen')
The file is 17.7MB. Thanks for your help.
  댓글 수: 1
Dasharath Gulvady
Dasharath Gulvady 2015년 9월 28일
1. Could you show your MATLAB code which saves the figure?
2. Do you see this error message for any figure? Or is this specific for some figures?
fig1 = figure;
plot(1:10);
save test fig1
load test
3. Which release of MATLAB are you using?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by