필터 지우기
필터 지우기

How Do I Address Syntax Warnings

조회 수: 3 (최근 30일)
Robert Henson
Robert Henson 2018년 7월 11일
댓글: Robert Henson 2019년 7월 2일
I have a program that ran fine in 2017b, but now in 2018a I get a syntax warning:
Warning: This syntax will be removed in a future release. See the documentation for recommended usage. > In movavg (line 77) In leadlag (line 73) In parallel_function>make_general_channel/channel_general (line 917) In remoteParallelFunction (line 46)
How do I find the specific syntax problems? Also, where in the documentation can I read about this and make changes?
The warning is very persistent and outputs to the command window (or to the HTML file if publishing is selected). I've tried to suppress warning, but that doesn't prevent the output. How do I prevent/suppress these warnings when my program executes?
  댓글 수: 3
Daniel Kaminski de Souza
Daniel Kaminski de Souza 2019년 7월 2일
movavg changed from old functionality:
to the newest one:
I changed code to:
% [lead,lag] = movavg(P,N,M,'e');
lead = movavg(P,'exponential', N);
lag = movavg(P,'exponential', M);
But unfortunately when comparing old calculated lead and lag to previous ones, results don't match exactly.
Robert Henson
Robert Henson 2019년 7월 2일
Thank you!

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Timetables in Finance에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by