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


Here's another related question:
Why is bitstr like this:
bitstr=[1010100101010101001111000]
instead of this:
bitstr=[1 0 1 0 1 0 0 1 0 1 0  1 0 1 0 1 0 0 1 1 1 1 0 0 0]

is it because I use dec2bin to get the bit stream.