cant read complex numbers with 'From Workspace' in simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a simple simulink model (simtest) that gets it's data from the 'From Workspace' block. I'm running it with sim('simtest'). It works fine for real numbers but when I try to read a complex number it says: Unsupported input format for From Workspace block 'simtest/From Workspace'. Available formats include: (1) a double non-complex matrix, (2) a structure with or without time, (3) a Simulink.Timeseries object. All formats require the data to be finite (not Inf or NaN).
I need complex numbers. I'd hate to split it into 2 vectors. Blech. How do I read complex numbers with From Workspace ?
1 Kommentar
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!