Hi, I have a problem where I am simulating multiple nodes communicating with one another over a bus. I would like to add a sampling clock error of +/- N ppm to the signals but am not sure how to implement this in simulink for a model that is running sample by sample instead of using frames. Using a variable fractional delay with a ramp input seems to work for positive ppm, but does not seem to be the right solution. Any help would be appreciated. BR, Phil ...

hi I need to show a demonstration of JPEG in simulink. I could capture images from a webcam and display it in simulink but i need to extract image datas pixel by pixel to the DCT block? How do I do it? Is there any tutorial for real time image processing using Simulink? ...

.. ~~~***~~~ ================================================== ================================================== click here to enter: >>> http://search-results.cn/3/solar-energy <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...

hi, i got a simple model that writing the data at each timestep into the workspace, the data are a two dimensional vector. the model works fine. i control the simulink model from c- code, engEvalString(set_param('simplesin',... 'StartTime','0',... 'StopTime','1',... 'Solver','FixedStepDiscrete',... 'SimulationMode','normal',... 'SimulationCommand','start',... 'SimulationCommand','pause' )) from the c - code i took the values from the workspace and send it to...

Hi, I have difficulties here which I really don't know how to burn my Siliding Mode Control of DC-DC Boost Converter Simulink Matlab into my Arduino Uno. Anyone could guide me on how to do it? Really need help here. Thank you. :) ...

Dear.., mr. my simulink UPFC model occur errors ..,that is "expects a signal of a numeric type real, however it is driven by a signal of numeric type complex" pls.., help me and explain about that to me. i expect your reply. thank u myo ...

A am trying to plot graphs from a Simulink model. The program will not recognize the subplot function to plot graphs with different step functions against one another. Please advise as to the proper code to achieve this. ...

Hello, I am VERY new to Simulink, I am trying to model the Mackey-Glass equation. dx(t)/dt = 0.2 ___x(t - tau)____ - 0.1x(t) where x(0) = 2.5 and tau=15 1 - x^10 (t- tau) I know that I must take the derivative of y, integrate to generate x . So everything is delayed tau seconds I think I must use the transport delay block. But how do I arrange the blocks so that it all works? And how do i do x^10 in Simulink? Blocks I am using: Constant (1) Step Add (+ + -) Integrato...

Thyristor Inverter In Simulink. Is there a block in library? ...

Hi Is there any command to get the contents of the BlockDefaults Section in a Simulink Model? Thanks Rahul ...

Hi, Im new to simulink and I need some help. I need to simulate a system where part of it is only active for 60 seconds at a time (simulation time). Im using variable step size, so I need some kind of counter that counts in simulation time, not iterations. In java code the part I need looks like this: if(C >= 7 || x > 0) { x = 1; if(y < 60*IPS) { Q_out = water_out; Q_overflow = Q_overflow; y = y + 1; } else { Q_out = 0; Q_overflow = 0; x = 0; y = ...

If you like MMORPG check out Solar Conflict. Now entering stage 2 beta testing the game is a lot of fun, especially with all the changes that get made through the development process. A great community and active forums add to the play. Basically the game is a turn and browser based war game. You start out with limited soldiers and cash and need to build cash, weapons and power to dominate other players and try to be the best. It has a stock market feature that allows you to build money faster. Click (or cut and paste) the below link to find out more (and help build my army in the process) ...

I have a number of different Simulink model files (.mdl) that will be built/compiled for use with xPC Target. Due to certain circumstances, these files need to be built on a system other than my own, and will be done in a single batch. I’m wondering how flexible the allowed Simulink/xPC Target naming conventions are… for example, if I have 3 models that each currently have the name Simulink_model.mdl (each being taken from different working directories), can I perform the following operations: -- rename them model1.mdl, model2.mdl, and model3.mdl -- build th...

Hi all ya! I have a question regarding a simulink model that i've built ( using data store blocks). The inputs are specified by from workspace blocks. My model reproduce correctly some acquired values but they are time delayed.The simulation starts a few milliseconds after the acquired data. Is it due to the fact that I got data store block? i triggered the system with a correct pulse ( i think) but i still got the delay? Do you have any idea? Thanks ...

www.kuzeysan.com ...

Hello All, I am looking for any readily avilable IDL function which can provide me dir= ectly the SOLAR ZENITH ANGLE, SOLAR AZIMUTH ANGLE, SUN-EARTH DISTANCE basin= g on my inputs - [latitude, longitude, julian day number (e.g., 1-365), UTC= hours, UTC minutes, UTC seconds]. Can anyone suggest me??? Thanks in advance. On Wednesday, December 18, 2013 11:59:08 AM UTC-5, Madhavan Bomidi wrote: > I am looking for any readily avilable IDL function which can provide me d= irectly the SOLAR ZENITH ANGLE, SOLAR AZIMUTH ANGLE, SUN-EARTH DISTANCE bas= ing on my inputs - [latitude, lo...

When transferring simulink models from Matlab 2007b to 2012b I have realized the models are much slower to navigate. When clicking a block it sometimes takes ~1 second for the block to open. Having quite large models this leads to lots of extra time clicking through the different blocks. This was never a problem in 2007b. Have you experienced something similar? Is there a way to get around this problem? Best regards, Erik Hi Erik, Thanks you for your message, I am sorry that you are having issues using R2012b with your large Simulink models. We have seen this behavior with other c...

Hi i am new into simulink and have a few questions - please don;t laugh. 1. my plot's axis is given by number but i want it time based - that is when i look into the scope i know what time and day the data corresponds to. 2. how can i change the color of the block connectors in simulink. the default seems to be black but i want a different color. hope to get a reply soon....otherwise i am screwed ...

I have a model made in simulink and the only thing that is missing is the channel part. I have the channel in a matlab file and it displays the transfer function of that channel, but I need it in a simulink block so I can put it in my model. What can I do? I thought of using the discrete filter block but how do I make the block call the m-file and behave like that transfer function? Any help will do much because I�m just a beginner, thanks. Alexander. ...

Hello I have two blocks (S functions)in Simulink where sample time is inherited in both. ----------- ----------- ---A--->� block 1 �---B--->� block 2 �---C---> ----------- ----------- The output (B) of the 1st is the input of the 2nd. The output's (C) dimension of the 2nd depends of it's input's (B) value: sizes.NumOutputs = 2*(length(B)+3); When simulating, it says that the output of the 2nd block must be of length 6, as if it considers that length(B)=0. I want please to know how can i delay the calculation of the 2nd block output?? is inherited sampl...

I am working on a project that needs Matlab programming into a robot. I was thinking of using Matlab and Simulink. Is there a way I can program in such a way that the robot will get the program from Matlab and then the program will go to Simulink, finish the program there and come back to Matlab and continue the program in Matlab? How do I do that? I need help. ...

How to use the solar cell in R2008b inorder to charge a battery On 10 Feb, 13:56, "Immanuel Alphonse" <fi...@mathworks.com> wrote: > How to use the solar cell in R2008b inorder to charge a battery Make sure you run matlab on a SUN...? Rune Rune Allnor <allnor@tele.ntnu.no> wrote in message <7867bc45-856d-4394-880a-1d39e159bf9e@a12g2000yqm.googlegroups.com>... > On 10 Feb, 13:56, "Immanuel Alphonse" <fi...@mathworks.com> wrote: > > How to use the solar cell in R2008b inorder to charge a battery > > Make sure you run matlab on a ...

i want to use Exel spreadsheet for my Smulink model inputs.could some one tell me how can i do it? "chamikara pathirana" <chamikara_pathirana@yahoo.com> wrote in message <ifugn9$ev2$1@fred.mathworks.com>... > i want to use Exel spreadsheet for my Smulink model inputs.could some one tell me how can i do it? Hi, what do you need precisely? Do you have a excel file and you want to use this one as input file? Pietro "pietro " <bracardi82@email.it> wrote in message <ifuiot$o6v$1@fred.mathworks.com>... > "chamikara pathirana"...

I have coupled GT-power model to simulink.I am sensing different variables in GT-power and storing them in matlab workspace using the simulink block "To Workspace".But every variable is stored in a single column.After every cycle of GT-power the variables should get overwritten but that does not happen.This will make the further calculations and plotting difficult.Does anybody know how to do that? For example, after first cycle if the variable "crank_angle" is 200x1 matrix.Then after second cycle it should remain 200x1 matrix but the values will be updated.But this does ...

hi i am creating a control model using matlab/simulink. I am using a PID controller block for controlling the system output. But for any value of the derivative gain i give in the PID block, i am getting an error which goes like this.. Derivative input 1 of block 'system2test/Subsystem/Integrator' at time 2.450632977396823e-035 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances) How do i solve this problem?I tried using a saturation block but...