Simulink change vector data over time
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Roin Serena
am 7 Okt. 2020
Beantwortet: Ameer Hamza
am 7 Okt. 2020
I need to give my model a vector data changing over time.
Trying to use signal blocks, they seem to need variables but not vectors.
Is there any way to solve the problem?
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 7 Okt. 2020
You can also use MATLAB function block and write the code to generate the signals: https://www.mathworks.com/help/simulink/slref/matlabfunction.html. To get information about time inside the function block, use clock https://www.mathworks.com/help/simulink/slref/clock.html.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!