phased.FreeSpace Error invoking stepImpl

I am running a radar model in Simulink and when I change PRI this will 'sometimes' pops up and terminates my simulation. I don't know what it means or how to fix.
-----
An Error occurred while running the simulation and the simulation was terminated
caused by:
MATLAB Systemblock 'tgt_Rx channel' error occurred when invoking 'stepImpl' method of 'phased.FreeSpace'
The error was thrown from
'c:...\+phased\FreeSpace.m' at line 173.'
'c:...\+phased\+internal\abstractFreeSpace.m' at line 481.'
Changing the complexity (from real to complex) on input 1 is not allowed without first calling the *release()* method.

답변 (1개)

Honglei Chen
Honglei Chen 2016년 8월 25일

0 개 추천

Looks like your signal changed the complexity during your simulation. An easy way to fix this is to always convert your input to complex before feeding it to the FreeSpace block.
HTH

댓글 수: 2

SHU CHEN
SHU CHEN 2016년 8월 25일
how come the 'error' only shows on some frequency? it runs fine until I change the frequency.
Honglei Chen
Honglei Chen 2016년 8월 25일
I don't know what's in your model so I cannot comment much on this.

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

카테고리

질문:

2016년 8월 24일

댓글:

2016년 8월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by