Test Real-Time Application Error when build

조회 수: 2 (최근 30일)
Luke Wheadon
Luke Wheadon 2020년 1월 15일
댓글: Luke Wheadon 2020년 1월 27일
I am running Matlab 2019b with a Speedgoat baseline real time target machine.
I am trying to follow the simulink real time - simulink test example here:
When I get to step 9 I recieve this error:
Error due to multiple causes. Error while generating code for chart Test Assessment Block. Error occurred in 'ex_slrt_slt_osc_Harness1/Test Assessment Block'.
What does this mean and how can i overcome it?

채택된 답변

Mohan Feng
Mohan Feng 2020년 1월 21일
The error details should be shown in Diagnostic Viewer. Is the error related to block input/output size, dimenstion or non-scalar? If so, can you inspect the data defined in the Test Assessment block ("Int1" and "SigGen"). The size of both "Int1" and "SigGen" should be 1 instead of 2, since Demux is used. Can you change the size of the data defined to 1 and try again?
  댓글 수: 1
Luke Wheadon
Luke Wheadon 2020년 1월 27일
Thank you for your response, Changing the size of "Int1" and "SigGen" to 1 fixed the issue.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by