Matlab and Simulink Data Input as bit stream

  • Follow


Hi,

Is there anyway to read any user input (text file, image file, video file, etc...) from simply one function and output a single row matrix? Is the same possible on Simulink?

Essentially I would like to accept any user input from the user and feed it into my transceiver on Simulink. Ideally I would like the input to be in a row matrix form and I would like to use the same block to read in the input. If this is not possible I can create a GUI for the user to select the type of input they are sending and create different models for each type. But my instincts tell me that matlab should allow you to read input in one generic way, but the lack of google search results says otherwise.

As an example, I am aware I can read a bitmap image in with imread. However, the function returns a [x,x,3] matrix. I want to read it in as [1,x] matrix instead and output it in the same away to construct the same file at the end chain of my transceiver.

Thanks,
Suhail
0
Reply Suhail 1/26/2010 9:38:04 PM


0 Replies
743 Views

(page loaded in 0.029 seconds)

Similiar Articles:













7/20/2012 2:40:30 AM


Reply: