DSPRelated.com
Forums

simulink stuff

Started by ehsan azordegan September 30, 2003
hi!
i have write a wcdma mobile link in matlab,each block with seperate m-
file ,i am new in simulink and i should change it into simulink,most
of inputs and outputs are matrices (1xn),i have read s-function
help ,but i couldn't undrestand alot,i will be pleased if you suggest
any link or pdf attached for me to start,
thanks,
Ehsan



Hi,

I am not sure as to which version of MATLAB you are
using. However, if you happen to lay your hands on
version 6.5, then WCDMA is lot more easy to implement.
There are demos which are present and can be modified
to suit your requirement. I have found it pretty cool
to simulate WCDMA in Simulink bundled with MATLAB 6.5.
Sufficient help is also provided with it.

If you still need help, then visit the Mathwork
site for the pdf files that you are looking for.

-Snehamoy

--- ehsan azordegan <> wrote:
> hi!
> i have write a wcdma mobile link in matlab,each
> block with seperate m-
> file ,i am new in simulink and i should change it
> into simulink,most
> of inputs and outputs are matrices (1xn),i have read
> s-function
> help ,but i couldn't undrestand alot,i will be
> pleased if you suggest
> any link or pdf attached for me to start,
> thanks,
> Ehsan >


__________________________________



Hi,
                   I guess he is asking how to put a matlab code in to a user defined simulink block using  S functions rather tha using the blocks given by MATHWORKS.  I implemented a few blocks for GPS simulation using matlab code and then converted them  to user defined simulink blocks using s functions. The main thing is that in the s function demos using matlab files , MATHWORKS did not mentioned that  teh user defined blocks will not accept more than 1 input. also the input shoule be real . So you have to put a MUX before your block to couple all the inputs and in the s fucntin code you ahegv tos eperate teh inputs and do the processing and  give it to output. U have to put a demux at the output to seperate the different outputs.
Hope it helps.
Regards,
-SaiRamesh.
 
       

Snehamoy Banerjee <s...@yahoo.com> wrote:
Hi,

   I am not sure as to which version of MATLAB you are
using. However, if you happen to lay your hands on
version 6.5, then WCDMA is lot more easy to implement.
There are demos which are present and can be modified
to suit your requirement. I have found it pretty cool
to simulate WCDMA in Simulink bundled with MATLAB 6.5.
Sufficient help is also provided with it.

   If you still need help, then visit the Mathwork
site for the pdf files that you are looking for.

-Snehamoy

--- ehsan azordegan <e...@yahoo.com> wrote:
> hi!
> i have write a wcdma mobile link in matlab,each
> block with seperate m-
> file ,i am new in simulink and i should change it
> into simulink,most
> of inputs and outputs are matrices (1xn),i have read
> s-function
> help ,but i couldn't undrestand alot,i will be
> pleased if you suggest
> any link or pdf attached for me to start,
> thanks,
> Ehsan__________________________________



_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/matlab

More DSP-Related Groups: http://www.dsprelated.com/groups.php3


">Yahoo! Terms of Service.