Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Binary array from MATLAB to simulink
Date: Wed, 15 Apr 2009 16:05:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <gs50jg$c6e$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239811504 12494 172.30.248.38 (15 Apr 2009 16:05:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 15 Apr 2009 16:05:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1803051
Xref: news.mathworks.com comp.soft-sys.matlab:532970


Note: I am using MATLAB r2008a

I am working on a project on Adaptive Video Coding for wireless channels. 
So far I have an encoded bitstream similar to the one below (but more than 800,000 bits long):

>>bitstr =

11010100000101000100000000010101000000010100010001001
>>

Now I am trying to modulate it in Simulink using QPSK and import the result back into MATLAB. The problem I am facing is importing 'bitstr' into simulink, I have tried to use the 'From Workspace' block (simin) but it gives the following error:

"Invalid matrix-format variable specified as workspace input in 'untitled/From Workspace'. The matrix must have two dimensions and at least to columns......."

How can I fix this error, is there any other way to import the bitstr into simulink? I am not very good in simulink, so I need a good explanation to understand how it works.

Thanks