Forums Search for: Simulink
matrix source with a basic two input simulink model
Hello, I am interested in altering a model that I've put together and run earlier using simulink. It's simply a two-input plant, with...
Hello, I am interested in altering a model that I've put together and run earlier using simulink. It's simply a two-input plant, with scope output; earlier I'd had a sine wave input, but I would like to change to a matrix(from file) as source. So I've taken a matrix from the 'source' collection, and attached it to the main part. The para
Queue block in SIMULINK library
Hello all, I am facing a problem with the Queue block provided in SIMULINK signal management library. From the Help guide it is said that...
Hello all, I am facing a problem with the Queue block provided in SIMULINK signal management library. From the Help guide it is said that it could accept scalar, vector, or matrix input. However when I tried to input a 1x9 (same when I tried 9x1) data, it prompts error message saying that it only accepts scalar input. I could not find any configuration which could help, can Queue block acc...
implemting okumura model m file into simulink
hi everyone, I want to call the code for okumura model wriiten in m file into SIMULINK. I know that it can be done by the embedded matlab...
hi everyone, I want to call the code for okumura model wriiten in m file into SIMULINK. I know that it can be done by the embedded matlab function but can anyone please help on how we can do so? the matlab code is %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % OKUMURA MODEL % RANGE OF FREQUENCIES: 150 TO 1920 MHz % DISTANCES OF 1 Km TO 100 Km %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
combine 2 scalar signals into 1 vector signal in simulink
inHello, How do I combine 2 scalar signals ( outputs from 2 baseband modulation blocks) into 1 [2 * 1] vector output in...
Hello, How do I combine 2 scalar signals ( outputs from 2 baseband modulation blocks) into 1 [2 * 1] vector output in simulink. I have tried to use merge block but it gives me error saying tht the basband modulation block output is not persistent to be combi
implementation of ofdm running on dsps by Realtime workshop
Hello I'm working on the implementation of ofdm running on dsps(TMS320c6xxx). I have made my own simulink and matlab mfiles. My question...
Hello I'm working on the implementation of ofdm running on dsps(TMS320c6xxx). I have made my own simulink and matlab mfiles. My question is: Does any one know how to test my work on dsp basd on relating the dsp with my computer by using realtime workshop on matlab 2008 and see how my simulink goes on dsp without writing c or dsp's programming code composer?and then how to optimize this? please ...
doubt regarding c-mex s-function
hai to all.I have ascii c-program.how i get c-mex s-function from that c-code.so that i can use it as simulink block. i tried...
hai to all.I have ascii c-program.how i get c-mex s-function from that c-code.so that i can use it as simulink block. i tried 'mcc'command to convert .m file to mex file.when i specify this name for s-function it gives some error. i can write matlab code and ascii c-program.but i have to control the system through matlab-simulink. THANKS IN ADVAN...
channel coding for CDMA/W-CDMA simulink model
Hello friends, If any body have simulink model for channel coding, please send me, atleast if ant one have turbo coder or convolution...
Hello friends, If any body have simulink model for channel coding, please send me, atleast if ant one have turbo coder or convolution coder send me. Thanking you Raju Raju Muchanthula, Applied Signal processing & Implementation , Aalborg University, rmuc04@rmuc.... www.kom.auc.dk/group/05gr943 Ph
QPSK Spectrum in simulink
Hi everyone. I just want to plot the QPSK baseband spectrum from the output data of the QPSK simulink block. However the output of this...
Hi everyone. I just want to plot the QPSK baseband spectrum from the output data of the QPSK simulink block. However the output of this block are the symbol coordenates in the signal space and when I use "spectrum scope" i don't get the theorical spectrum for the qpsk (the sinc function..). How can I do it? Can I use the qpsk block? thanks in advance!
Fixed Point & S - Function !!
Hi All, i hope i can declare what i need . in order to implement the system using fixed point presentation we should run the system on...
Hi All, i hope i can declare what i need . in order to implement the system using fixed point presentation we should run the system on simulink "we couldn't find a away to present sys with fixed point within ordindry m file if there was a way we hope to know it" . so to convert our m-file functions into simulink blockes w
accuracy problem in simulating discrete/continuous mixed model in simulink
hi all, i'm haveing an issue regarding the setting to simulate a discrete/continuous mixed model (continuous time delta sigma modulator) in...
hi all, i'm haveing an issue regarding the setting to simulate a discrete/continuous mixed model (continuous time delta sigma modulator) in simulink, particularly when i introduce excess loop delay (in continuous time) in the feedback. when i use different types of solvers, different max step size and different loop delays, the results are significant different from each other. ...
Simulink Rayleigh / Rician channel complex path gains
inHi, I would like to know if there is any way of reconstructing the input signal of a rician or rayleigh channel block in simulink, from...
Hi, I would like to know if there is any way of reconstructing the input signal of a rician or rayleigh channel block in simulink, from the values of the output signal and the data given by the complex path gains port. Thanks in advance!
how to model resampled signal in simulink
Hi all I have asignal sample at 27Mhz (jittered clock). I want to process the signal with a jitter free clock. So what shold be the clock freq...
Hi all I have asignal sample at 27Mhz (jittered clock). I want to process the signal with a jitter free clock. So what shold be the clock freq at which i shold resample the signal. How do i resample an already sampled signal. If i want to say hold the sampled signal and then again resample with saome different clock, how do i modell all this in simulink.Need suggestion ASAP. Thanks & Regard...
Real Time Workship Video Capture Code for CCS
Hello, I wanted to understand how RTW(Matlab) generates code for video capture for image processing on the dsp. The 'From Video Device' block...
Hello, I wanted to understand how RTW(Matlab) generates code for video capture for image processing on the dsp. The 'From Video Device' block in Simulink is not supported by RTW. So I just wanted to know what it is that RTW does when generating C code for CCS? Does this block have to be removed and RTW generates something automatically or is there another Simulink block that we have to put in...
Problems in RTDX Simulink -> Code Compose Studio V3.3 (CCS) about toolbox C2000
Hi, I make a project that used Toolbox for DSP Texas Instruments C2000. I tried to use the RTDX functions (write and read) in Simulink for...
Hi, I make a project that used Toolbox for DSP Texas Instruments C2000. I tried to use the RTDX functions (write and read) in Simulink for TMS320F2812 processor. But when press in button "Incremental Build" to generate the code for CCS, appear a error dialog window with next message: " Error building Real-Time Workshop target for block diagram 'c2812rtdxtest'. MATLAB error message...
regarding how to convert matlab function block into c code
hi all, this is gurivi i want to implement one controller on the hardware equipment for this i want to convert the simulink generated...
hi all, this is gurivi i want to implement one controller on the hardware equipment for this i want to convert the simulink generated code into c code by using RTW. here i got a problem, as my controller has been designed using a matlab function block and it is represented in simulink block. but RTW was not allowing the conversion of Matlab f
how to separate stereo channels of ac23 mic-in adc in simulink
hi friends, i am making a model in simulink and using a c6713 dsk and i want to use its ac23 codec's mic in port in stereo mode....
hi friends, i am making a model in simulink and using a c6713 dsk and i want to use its ac23 codec's mic in port in stereo mode. signals coming from the left and right channels need separate processing. the project is a quadrature demodulator were the left channel gives me inphase (I) signal and the right channel gives me quadrature (Q) signal. this Q signal is to be given to a hilber...
Simulink --- Embedded Matlab function --- frame based signal
Hi all, I met a problem in Embedded Matlab function. It seems that this customrized block does not support frame based signal. And according to...
Hi all, I met a problem in Embedded Matlab function. It seems that this customrized block does not support frame based signal. And according to the manual online, it is said "Simulink frames are not supported. However, you can use the Rate Transition block to convert frames into vectors." I can not understand it. Does that mean I can not use the batch processing? So this Embedded Ma...
single phase multilevel h-bridge inverter
Hi, I'm doing a project of single phase multilevel h-bridge inverter using the simulink. If i'm using the igbt block, and switching using the...
Hi, I'm doing a project of single phase multilevel h-bridge inverter using the simulink. If i'm using the igbt block, and switching using the pulse generator instead of PWM generator, how should i setting the triggering time to get the good sinusoidal output. And also, can I use the universal bridge instead of IGBT block and how to use it since I'm very new to the MATLAB Simulink.
how to use "if" statement or block for matrices in simulink
Hi I'm tring to make an "if" statement over a [512*2] matrix generated from the "from wave device" block in simulink. but I don't know...
Hi I'm tring to make an "if" statement over a [512*2] matrix generated from the "from wave device" block in simulink. but I don't know how to make the comparition between the matrix elements and an scallar, because it seems that the "if" block only accepts scalers not matrices or vectors. any answer will be appreciated.
REED SOLOMON Coding with PSK modulation in Rayleigh fading channel-SIMULINK
hello, I am modeling REED SOLOMON Coding(n,k)=(7,3) with 8-PSK modulation in Rayleigh fading channel,using SIMULINK.When I use multi path...
hello, I am modeling REED SOLOMON Coding(n,k)=(7,3) with 8-PSK modulation in Rayleigh fading channel,using SIMULINK.When I use multi path Rayleigh fading channel block, I get this error: [The minimum input width must an integer scalar > 0] Can any one plz help me to figure out this problem!