Effacer les filtres
Effacer les filtres

Simulink inport issue while running

3 vues (au cours des 30 derniers jours)
Alireza Babaei
Alireza Babaei le 11 Août 2023
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.

Réponses (1)

Prathamesh
Prathamesh le 25 Août 2023
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.

Catégories

En savoir plus sur Schedule Model Components dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by