필터 지우기
필터 지우기

Error when using the placelabels function - Unrecognized function or variable

조회 수: 1 (최근 30일)
richard
richard 2023년 3월 28일
답변: Image Analyst 2023년 3월 28일
I'm trying to use the placelabels function with my plotting here (I inherited this code, shown below). I get the error "placelabels" is not recognized. How can I fix this? I'm using Matlab 2022b.
figure(1);
set(gcf, 'Units', 'Inches', 'Position', [fig_xpos, fig_ypos, fig_width, fig_height], ...
'PaperUnits', 'Inches', 'PaperSize', [fig_width, fig_height]);
subplot(2,1,1);
plot(t, x_new(1,:),'b','LineWidth',lw);hold on;
plot(t, x_kop(1,:),'r--','LineWidth',lw);hold on;
axis tight;
placelabels('','','$x_1$', fs, gs);

답변 (1개)

Image Analyst
Image Analyst 2023년 3월 28일
Ask the person you inherited it from. He or she probably wrote a custom function that they forgot to give you. If you can't contact him or her, then just delete the line or comment it out.

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by