Re: generating M-file S-function

Started by farh...@gmail.com in Matlab DSP12 years ago

Hi, check out the s-function manual in the simulink directory of online documentation. Regards > > > > Hi everybody > ...

Hi, check out the s-function manual in the simulink directory of online documentation. Regards > > > > Hi everybody > > I have an m-file that implements daydic wavelet > transform. How can I write an S-function for this file > to be used in simulink. I appreciate a deep explain. > > Thanks in advance > > > > __________________________________ > >


biDirectional Port in Simulink

Started by Khalid Latif in Matlab DSP11 years ago

Hi all, I am trying to model a Data Bus in simulink. As in standard data bus,there are three types of lines: data, address and control. Data...

Hi all, I am trying to model a Data Bus in simulink. As in standard data bus,there are three types of lines: data, address and control. Data is always Bidirectional. If Read Enable: Data is Read and if Write Enable: Data is written on same line. If I use same data line, the problem is that should be bidirectional but bidirectional port is not available in simulink. One thing more ...


help with simulink model

Started by abhishek ivaturi in Matlab DSP15 years ago

Hey all, is anybody familiar with the simulink model "aero_radmod" , thats a sample radar tracking system....??? i...

Hey all, is anybody familiar with the simulink model "aero_radmod" , thats a sample radar tracking system....??? i desperately need help understanding that model help will be duly rewarded..... :) shek


Re: import

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

Hi, If you want only to pass some variables to from .m-file simulink then you can use assignin or set_param commands to pass and evalin to...

Hi, If you want only to pass some variables to from .m-file simulink then you can use assignin or set_param commands to pass and evalin to evaluate them. i hope it helps you.. If u want to pass m file data in different way pls mention it clearly... Regards, Ashwini Hi guys, > > I am currently working on simulink and I encountered problem importing a source code (which is in ".m" f


about simulink

Started by Guhan in Matlab DSP15 years ago

hi friends, i am second year student of electrical and electronics engineering and i am doing a small project on power factor ...

hi friends, i am second year student of electrical and electronics engineering and i am doing a small project on power factor correction and i want to create a simulation in simulink. but i am able to find the power factor of circuit.so if any of u knows how to do it pls kindly


how to test packet error rate in simulink

Started by peng...@kth.se in Matlab DSP11 years ago

Dear Friends, I have a problem in simulink, there is the component named error rate calculation to test the bit error or symbol error...

Dear Friends, I have a problem in simulink, there is the component named error rate calculation to test the bit error or symbol error rate. but I want to test the packet error rate, how to set up the packet in simulink, then test the packet error rate? Thank you very much! /Peng


physical distance in Simulink

Started by farh...@gmail.com in Matlab DSP12 years ago

Hi, Thanks to all for answering my previous questions, they were helpfull I have one more question, that is it possible in simulink to...

Hi, Thanks to all for answering my previous questions, they were helpfull I have one more question, that is it possible in simulink to have a physical relation (distance) between block? Say, i have a RF reader that can read signals from transmitters, and upon that reading decide a signal strength. Now if there are two blocks for reader and transmitter, is there a way that if i physically ...


create new simulink block

Started by Hany Ferdinando in Matlab DSP18 years ago 1 reply

dear all, I want to make new simulink block with more than one input and output. Anyone has the idea? Thank you ...

dear all, I want to make new simulink block with more than one input and output. Anyone has the idea? Thank you Hany Ferdinando Petra Christian University Department of Electrical Engineering Siwalankerto 121-131, Surabaya 60236, Indonesi


=?utf-8?B?UmU6IFttYXRsYWJdIFJhbmRvbSBJbnRlZ2VyIEdlbmVyYXRvciAtIFNpbXVsaW5r?=

Started by Amaren Prasanna das in Matlab DSP9 years ago

use "random number" block or "uniform random" nuber block in the "source library" of simulink. vary the param acccordingly On Fri, 13 Nov 2009...

use "random number" block or "uniform random" nuber block in the "source library" of simulink. vary the param acccordingly On Fri, 13 Nov 2009 01:03:54 +0530 wrote > Hi, How do i generate random numbers between given limits in simulink. For ex: between 25 - 30. At every sample time one of the value between 25 to 30 should be given out. (could be25, 26 , 30, 28, 25, 29, etc.,) T


Multipath Rayleigh problem (Simulink)

Started by vcteo in Matlab DSP13 years ago

I want to use the multipath rayleigh channel for my OFDM simulation in Simulink. However i keep getting this error message: Error reported...

I want to use the multipath rayleigh channel for my OFDM simulation in Simulink. However i keep getting this error message: Error reported by S-function 'scomtrigbuff2' in 'ofdm/Multipath Rayleigh Fading Channel/Multipath Fading Channel/Fading Profile/Rebuffer with Input Trigger/S-Function': The minimum input width must an integer scalar > 0 I'm new to Simulink so can anyone help me


wavelet in simulink

Started by Hany Ferdinando in Matlab DSP18 years ago

dear all, I need simulink block for wavelet. Who has this kind of block? Thank you Hany Ferdinando Petra Christian...

dear all, I need simulink block for wavelet. Who has this kind of block? Thank you Hany Ferdinando Petra Christian University Department of Electrical Engineering Siwalankerto 121-131, Surabaya 60236, Indonesia


Re: Simulink/C6713 project

Started by osca...@hotmail.com in Matlab DSP12 years ago

i WONDER WHAT VERSION OF MATLAB U ARE USING BECAUSE THE R2006 INCLUDES SOME DEMOS FOR THE DSK6713 THAT YOU CAN RUN, THE DEMOS ARE FROM EMBEDDED...

i WONDER WHAT VERSION OF MATLAB U ARE USING BECAUSE THE R2006 INCLUDES SOME DEMOS FOR THE DSK6713 THAT YOU CAN RUN, THE DEMOS ARE FROM EMBEDDED TARGET C6000 i tested the reverbeation demo and works fine the others i have some problems running, i woul like to see you filter application if you can share it. Hello group, > > I want to try connecting the C6713 board to SIMULINK. I have all th


workspace coefficients in Simulink

Started by Nalin Pithwa in Matlab DSP16 years ago 1 reply

Hello, I am using MATLAB and Simulink based DSP/Communications Blockset in my application. I need a small help. In the design...

Hello, I am using MATLAB and Simulink based DSP/Communications Blockset in my application. I need a small help. In the design of my system, one of the blocks is a FIR filter. The filter coefficients are generated during run-time and they change adaptively. How can


Simulink Question

Started by Srinivas Neginhal in Matlab DSP15 years ago

Hi! I am writing a tool based on Simulink. I need to highlight blocks/lines in Model files under program control. One way would be...

Hi! I am writing a tool based on Simulink. I need to highlight blocks/lines in Model files under program control. One way would be to change the background color property of the particular block in the model file and reload the file. Is there a more efficient way to do this? Th


SIMULINK Scope

Started by natrama in Matlab DSP12 years ago

Hi All, I have a circuit in simulink and i am using a couple of scopes to probe different points. I see something strange. When i probe...

Hi All, I have a circuit in simulink and i am using a couple of scopes to probe different points. I see something strange. When i probe a certain node outside a circuit, i see different results as compared to probing the same node inside the circuit??? Would anyone know why? and how this can be fixed??? ram


dumping code of a simulink model

Started by anup_extreme in Matlab DSP13 years ago 1 reply

Hello All, Can any one tell me the way to dump the following from a simulink model > hdl code > c code > m file Also If I have an m file/c...

Hello All, Can any one tell me the way to dump the following from a simulink model > hdl code > c code > m file Also If I have an m file/c code/hdl code how can convert it into a simulink model. Thanks, Anup


Normalizing data in Simulink

Started by Iwan in Matlab DSP13 years ago 1 reply

Dear all,,, We know that the function 'premnmx' can be used to normalise data/vector fall in between [-1 1]. But, i wanna know how...

Dear all,,, We know that the function 'premnmx' can be used to normalise data/vector fall in between [-1 1]. But, i wanna know how to perform such thing in SIMULINK. which block has to be used. ??? Thanks... (M. IWAN ) Mahmud Iwan S (iwan) T.E-UGM96 Master of Mechatronics. IIU Malaysia


creating user defined blocks

Started by krishna_31985 in Matlab DSP13 years ago 4 replies

hi friends, i am doing my project on transmultiplexers.i want to do it in simulink.i am trying to create blocks for each one like...

hi friends, i am doing my project on transmultiplexers.i want to do it in simulink.i am trying to create blocks for each one like decimator,interpolator............. but i always get an error .the following is the interpolation program.can anyone tell me how to create a block for this in simulink clf; dt=0.00005; t=-0:dt:N-1; N=input('input length:'); L=input('up-sampling fa


psd calculaton using simulink block

Started by nand...@ymail.com in Matlab DSP9 years ago 1 reply

hai, i am new to simulik and am using matlab 7.0 version.I want to calculate psd (welch) of a .wav file in simulink. but i dont have welch...

hai, i am new to simulik and am using matlab 7.0 version.I want to calculate psd (welch) of a .wav file in simulink. but i dont have welch estimator in signal processing tool box. Also how to display the result? if i use 'fft spectrum' viewer, it displays frame by frame, but i want the overall.


LFSR implementation in Matlab simulink

Started by htun...@gmail.com in Matlab DSP12 years ago

Hi, How to implement the LFSR of 18bit sequence long with 7bit output in Matlabe simulink? I have rough idea of using pn sequence generator and...

Hi, How to implement the LFSR of 18bit sequence long with 7bit output in Matlabe simulink? I have rough idea of using pn sequence generator and have already read the help. The purpose of using this is to lower the spur level before phase bits truncation. Please guide me how to use pn sequence generator.