Info

This question is closed. Reopen it to edit or answer.

how can i import a 3 dimensional signal or data into simulink?

1 view (last 30 days)
I have a 3 dimensional matrix which is the signal I want to process in simulink .the first dimension is the number of examples, the second dimesion is the number of channels and the 3rd dimension is the samples. Since i am a beginner in simulink can anyone please tell me how can i import such a data into simulink.

Answers (1)

nl2605
nl2605 on 14 Mar 2014
Use a 'From Workspace' block to get the data from MATLAB workspace into Simulink. Then you can separate it or simply use 'InPort' block. If you use a 'From Workspace' block then you can use a Demux. You can find other Signal Routing options in Signal Routing.

Community Treasure Hunt

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

Start Hunting!