필터 지우기
필터 지우기

I am facing an error while creating test harness.

조회 수: 4 (최근 30일)
Mallika
Mallika 2023년 3월 14일
댓글: Amey Waghmare 2023년 4월 21일
I am facing this error while creating test harness. "One or more output arguments not assigned during call to "varargout"".
Any idea how to resolve this. I would appreciate any thoughts on resolving this issue.
  댓글 수: 2
Suman
Suman 2023년 3월 17일
Hi Mallika,
Can you please share some more context and/or screenshots of the issue you are facing?
Also, this is a common error message which sometimes get resolved by simply restarting MATLAB. Please let me know if it works for you.
Thanks,
Suman
Mallika
Mallika 2023년 4월 19일
Restarting matlab is not helping..
Attached a screenshot of my main model. Marked in blue are inputs and the ones in red are outputs.
Few of my output ports are virtual and few are not, Code generation is happening smoothly. Also MIL harness for the same is created.
I am facing the issue only when i am creating SIL block. Any suggestions on this wouls be of great help!

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

답변 (1개)

Amey Waghmare
Amey Waghmare 2023년 4월 20일
Hi,
As per my understanding, you are encountering the an error whenever you are using SIL block.
If a test case is configured to run in Software in the Loop (SIL) simulation mode and has signals logged in the Simulation Outputs section, then the execution can error out. This is a known bug and the fix options for this issue are mentioned in the following Bug report,
I hope this helps.
  댓글 수: 2
Mallika
Mallika 2023년 4월 21일
Thanks for the response. I am unable to configure the test case. Error while creating the Harness, also I am not logging any signals.
Amey Waghmare
Amey Waghmare 2023년 4월 21일
Hi,
As per my understanding you are unable to configure the test case. Can you please share your model file, error messages and detailed reproduction steps so that I can reproduce the issue at my end.
If you are not comfortable to share the files on this platform, please raise a Service request using the following link,
I look forward to hear from you soon.

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

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by