DSPRelated.com

DSP programming with simulink

Started by Joseba Torres in Matlab DSP18 years ago

Hi everyone, I'm working with a DSP/FPGA board and I mostly use the Simulink to generate my models. I compile, I start the simulation on board...

Hi everyone, I'm working with a DSP/FPGA board and I mostly use the Simulink to generate my models. I compile, I start the simulation on board with the Simulink and my qestion is: Is it possible programm the DSP with the simulink? When I connect the board and the simulation starts, the board (connected via ethernet) works with autonomy, but when i stop the simulation from the simulink the board...


Simulink in real time life

Started by hdekhiel in Matlab DSP23 years ago 1 reply

Hi all, I don't know how to make a simulink program to run in real time within the simulink environment. The problem is coming...

Hi all, I don't know how to make a simulink program to run in real time within the simulink environment. The problem is coming from the fact that the timer inside simulink is a simulation timer and not the real timer. So, if I link my simulink program to any outside data sourc


Is it possible to call simulink function from VB?

Started by Ah_Nee in Matlab DSP21 years ago 1 reply

Hi all, Anyone know how to call simulink model from Visual Basic? I know how to call matlab file only. But, I dont know...

Hi all, Anyone know how to call simulink model from Visual Basic? I know how to call matlab file only. But, I dont know how to call simulink model. Or is there any way to convert simulink model to .m file? I really need to know the method urgently. Any


Display output in Simulink OFDM demo

Started by vcteo in Matlab DSP21 years ago 2 replies

I am currently doing a simulation of OFDM in Simulink to be later used in a TI DSP. There are a few demos in Simulink which involves...

I am currently doing a simulation of OFDM in Simulink to be later used in a TI DSP. There are a few demos in Simulink which involves OFDM which i play around to familiarise with the blocks before i build my own model. There is one demo in Simulink called [b]HiperLan2[/b] which involves OFDM. What i'm trying to do now is to display the output afte


Running simulink from command line

Started by sairamesh90 in Matlab DSP21 years ago

Hi, We are working on a user defined GUI which calls a user defined function. The output parameters from the function are passed to a ...

Hi, We are working on a user defined GUI which calls a user defined function. The output parameters from the function are passed to a simulink block using sim('model') function. Ultimately, we want to display the output values from the simulink model in GUI window. We am facing a problem in passing the parameters to the simulink model. Before calling


problems connecting simulink to dsp board

Started by ario fanie in Matlab DSP19 years ago

I'm having a problem configuring simulink to dsp tms6713. I'm using matlab 7.04. I'm connecting from workspace through embedded matlab function...

I'm having a problem configuring simulink to dsp tms6713. I'm using matlab 7.04. I'm connecting from workspace through embedded matlab function block in simulink and trying to put all of the processed data in workspace again. And this is what happens when i'm trying to run my simulation in simulink : Size of index expression is not statically known. Function 'Embedded MATLAB Function' (#1...


import ".m" file into simulink

Started by veri...@yahoo.com.sg in Matlab DSP19 years ago

Hi guys, I am currently working on simulink and I encountered problem importing a source code (which is in ".m" format) into simulink. I've...

Hi guys, I am currently working on simulink and I encountered problem importing a source code (which is in ".m" format) into simulink. I've tried using the "from file" icon (under the "source" toolbox)but it only supports ".mat" format. Could anyone give me advise on importing .m file into simulink? Thanks! Your help is appreciated. regards, qiang


Simulink simulation

Started by Giovanni Marino in Matlab DSP19 years ago

Hi all, I have a question about a digital circuit simulation in Simulink. Well, I have a signal clock of 10.23 MHz and I want to increase it to...

Hi all, I have a question about a digital circuit simulation in Simulink. Well, I have a signal clock of 10.23 MHz and I want to increase it to 15,345 MHz, it means I have to multiply it for 1.5. How can achieve it in simulink? Do I have to implement either a multipliers (PLL or something else) or is there a block in simulink which performs this task? Thank you in advance for your time Gio...


real time A/D and simulink

Started by Simon Le Blond in Matlab DSP16 years ago

Hi there, I am using matlab simulink's RTW in conjunction with an Innovative Integration A/D card (X3-SD). I want to collect data from the...

Hi there, I am using matlab simulink's RTW in conjunction with an Innovative Integration A/D card (X3-SD). I want to collect data from the A/D and then run my simulink algorithm compiled in C++ on the host CPU. Has anyone had any experience doing something similar? When I stream data from the A/D card's channels, where is it written to and how can I then get the simulink model to ...


moving circle using simulink

Started by kursat ozer in Matlab DSP24 years ago

hi! i want to move a circle using simulink, but first of all i need to draw/plot it in simulink environment :)) i have a...

hi! i want to move a circle using simulink, but first of all i need to draw/plot it in simulink environment :)) i have a function "circle.m" but i can not use it correctly in simulink (sending parameters correctly,and getting the output in the right manner), can someone


Re: LLR demodulator and APP decoder

Started by nammi sairamesh in Matlab DSP19 years ago

U can write ur own APP decoder for that using BICM concept. BR, -SaiRamesh. --- f...@tee.gr wrote: > Dear colleagues, > > is there...

U can write ur own APP decoder for that using BICM concept. BR, -SaiRamesh. --- f...@tee.gr wrote: > Dear colleagues, > > is there anybody that has connected a LLR > demodulator Simulink block (i.e. QAM, QPSK) with an > APP Decoder one? I need that to make turbo-coded > modulation simulations with Simulink either SCCC > turbo coder or PCCC ones. Simulink Help and Demos > also mainta


BER VS DISTANCE GRAPH IN SIMULINK

Started by pri in Matlab DSP19 years ago

Hi all, I am new to SIMULINK so can anyone please tell me how can I plot a graph of BER VS DISTANCE keeping the SNR constant in SIMULINK?...

Hi all, I am new to SIMULINK so can anyone please tell me how can I plot a graph of BER VS DISTANCE keeping the SNR constant in SIMULINK? With bertool,only ber vs snr graph can be obtained. The blocks that am using in my model are: 1. random integer generator 2.QAM modulator baseband (16-QAM) 3. AWGN channel 4. Free space path loss block 5. QAM demodulator baseband 6.E...


Simulink (Rayleigh Fading) Help Required

Started by Ahsan Ali in Matlab DSP19 years ago

Hello Everyone! I am Ahsan and i am doing my final year (UG) project on OFDM. I was supposed to simulate the effects of noise and...

Hello Everyone! I am Ahsan and i am doing my final year (UG) project on OFDM. I was supposed to simulate the effects of noise and multipath fading on OFDM signal. I am using SIMULINK as the simulation tool.I have completed the noise simulation using the AWGN channel in SIMULINK but when i insert the Multi-path Rayleigh Fading Channel in my model i get the following error: Error rep...


Simulink/IP/C6x

Started by heidar mhr in Matlab DSP19 years ago

Hello guys, I have an image processing algorithm running on a C6416 DSP board and now I want to build a simulink model to read an image and...

Hello guys, I have an image processing algorithm running on a C6416 DSP board and now I want to build a simulink model to read an image and give me its dimensions and feed it into my program on the board. Could someone please tell me if that is possible and maybe provide me with the simulink model. Thanks in advance. Haidar


CDMA Tx (simulink)

Started by seba...@yahoo.com in Matlab DSP19 years ago

hi all i'm woring on CDMA Tx and Rx using matlab simulink (using matlab 7),but i got some problems when i downloaded it on the kit(C6713),even...

hi all i'm woring on CDMA Tx and Rx using matlab simulink (using matlab 7),but i got some problems when i downloaded it on the kit(C6713),even does the program was free of errors,, it rejects some blocks when converting it to CCS (using...control+B),,,, if any one does already made CDMA system using matlab simulink 7,,,i would gratfull for his help,& would be more happy if he could send it to me ...


M-Files and SIMULINK

Started by Puya Afshar in Matlab DSP20 years ago 1 reply

hi mates 1- how can i execute M-files while i am running in SImulink environment ? 2- What If i want to create a FOR loop inside...

hi mates 1- how can i execute M-files while i am running in SImulink environment ? 2- What If i want to create a FOR loop inside simulink ? Thanks in advance Puya Ghasemi Afshar


C6713DSK to Simulink data transfer

Started by b.pr...@iu-bremen.de in Matlab DSP20 years ago 1 reply

I have implemented an OFDM communication system in Simulink. I am using Link to CCS and CCSv3.1 Platinum to build the model and transfer data to...

I have implemented an OFDM communication system in Simulink. I am using Link to CCS and CCSv3.1 Platinum to build the model and transfer data to one TI C6713 board. The output of the board goes to the input of a second C6713 board. The problem is I do not know how to transfer the received data (from the second board) back to simulink. Using the Line in ADC block digitizes and transfers the r...


Compiling M-file and simulink model together

Started by vd.a...@yahoo.co.in in Matlab DSP19 years ago

Dear all, My requirement is to create stand alone application. My program involves both Matlab GUI and Simulink model. I am calling Model...

Dear all, My requirement is to create stand alone application. My program involves both Matlab GUI and Simulink model. I am calling Model from GUI and passing some parameters to it. I am able to create executables of M-file and simulink model separately, but i am unable to create an executable which includes both. Can anybody tell me the procedure for that, Thanks in Advance, As...


Outputting a .wav file in Simulink

Started by baxter_rani in Matlab DSP20 years ago

Hey everyone, I am trying to convert a mono sound to a stereo sound using Simulink. At the initial stage, I am simply trying to take a mono...

Hey everyone, I am trying to convert a mono sound to a stereo sound using Simulink. At the initial stage, I am simply trying to take a mono sound (.wav file) and outputting it first in the left speaker (channel 1) and then in the right speaker (channel 2). I can do this in MATLAB, but I can't seem to get this in Simulink. So far, I've found the blocks "From .wav file" and "To .wav de...


Matlab embedded coder

Started by dave...@yahoo.co.uk in Matlab DSP20 years ago 1 reply

Hi guys, im trying to design a DMT system. Iv built a workin model in simulink and now hav to try implement it on a TIc5416 processor. Iv heard...

Hi guys, im trying to design a DMT system. Iv built a workin model in simulink and now hav to try implement it on a TIc5416 processor. Iv heard that instead of rewriting C code for the DSP, it is possible to get SIMULINK to generate C code from my simulink model ... Pls can any point me in right direction ... i know its in the Emebbeded coder toolbox and hav tried but errors keep poppin up and...