why do i see "Error while generating code for chart Test Sequence" error when running my test harness?

조회 수: 8 (최근 30일)
  댓글 수: 2
Dev
Dev 2023년 3월 6일
Hi!
The error "Attempted to assign to Simulink input 'Steerable_Axle_Left_Calibration_Value'" means that you are trying to change the value of the input, which is not allowed. You should copy the value into another variable and make updates there. For example, you can start with "y=Steerable_Axle_Left_Calibration_Value" and then make changes in variable "y" .
Hope this helps you.
Scarletth
Scarletth 2023년 3월 6일
Thank you, also then it will appear this error,
The data Steerable_Axle_Left_Calibration_Value was read before being written to. This error will stop the simulation.
Do you know how should i can update values in variable "L"?

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

답변 (1개)

Jasvin
Jasvin 2023년 3월 6일
It is entirely possible that there are some errors in your model during compilation. So first have a look at the Diagnostics of your model after compiling and then try running the test harness.
This MATLAB Question by the MATLAB Support Team seems to indicate as such,
  댓글 수: 1
Scarletth
Scarletth 2023년 3월 6일
Thanks! apparently a do not have any issues in my model during compilation, i think it is only running the harness

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

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by