Simulink inport issue while running
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear all,
I have a MATLAB Function imported in the Simulink matlab function block to simulate a nonlinear system.
But I keep getting different bugs, apparently I have resolved them all unless on ebug:
Error loading external input data.
I am attaching the simulink model (.slx) file; I appreciate if sb can give me a hint here to de-bug this simulink model.
Thanks a lot.
댓글 수: 0
답변 (1개)
Prathamesh
2023년 8월 25일
Hi,
I understand that you are encountering an error message “Error loading external input data.” while running the Simulink model.
I see in the model the system is the top-level system and is not part of any subsystem. But you have given input to the system with the help of “inport” block.
The “inport” block links a signal from the outside/external system into current system. Since in the model there is no external system, you are encountering this error.
To resolve this problem, you can create an external system and then link that signal to your system, or you can try to give input directly from workspace or with the use of other blocks.
To know more about the “inport” blocks refer the documentation attached below.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!