Can I use an output of a Matlab function delayed by a memory block as an input for the same Matlab function in Simulink?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael Melzer
am 16 Mär. 2016
Beantwortet: Michael Melzer
am 16 Mär. 2016
I wanted to define variables within a Matlab function in Simulink. To decide which values the variabels will have in the current simulation step the variable values from the previous simulation step are necessary and feedback delayed with a memory block.
If I do this I get an error message during compilation.
Without the feedback the model compiles but does not deliver the desired result.
1 Kommentar
Vaibhav Awale
am 16 Mär. 2016
Can you please let us know the error message that you get during compilation?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!