Signal did not align

조회 수: 9 (최근 30일)
galaxy
galaxy 2019년 11월 25일
댓글: galaxy 2019년 11월 28일
I using Simulink test and add base line result from excel file.
But signal compare dis not align as following picture.
signal_did_not_align.png
Do you know about it???

채택된 답변

Paul Urban
Paul Urban 2019년 11월 27일
From the information given there could be a few possibilities for the error. More information is needed but here are a couple things to investigate:
  • The Target_Ratio1 "signal" is unnamed in the model. Target_Ratio1:1 is a synthetic name created by concatenating block name with port index (BlockName:1, for example). This is Simulink's naming convention for unnamed signals.
  • The Excel sheet specifies Target_Ratio1 as the signal name (which doesn't match the empty signal name in the model) in the top row of the sheet
  • 2 workarounds: 1. Name signal in model to be the same name as the block, or 2. Update name in Excel sheet to include the port index. The top row would change from ["Target_Ratio1", "Actual_veh_spd"] to ["Target_Ratio1:1", "Actual_veh_spd:1"]
  댓글 수: 1
galaxy
galaxy 2019년 11월 28일
I checked, and problem same your first point.
Thank you for your help

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by