F28335 with Simulink
Hi! I have some problems with programming F28335 chip by Simulink. I opened sample project for my processor: c28335pwmtest, but it doesen't work proper: on ePWM outputs I didn't get any signals. I changed this program: timer period is set by dialog (not by input port). I set up it for constant value 10000 and I set u... 22 Sep 2009 11:47
using struct as simulink model argument values in referenced model
Hi I am running a simulink model which involves a referenced model within an enabled subsystem. I want to use a struct which lives in the base workspace as an argument for the referenced model. That is, i want to define a struct in the base workspace then import that as a parameter in the referenced model. I upda... 16 Sep 2009 20:51
Plotting or Concatenateing
I hate to admit that I spent most of my day dealing with this seemingly simple problem, but here it is: I've got three columns of data form my instrument. I've got a column of data in the D/M/Y format, and a second column in the H/M/S format, and a third column with my actual data in it. I want to get a line grap... 18 Sep 2009 09:58
Creating movie with sound
Hello, I want to create a movie with sound using Simulink. Therefore I created a model with the blocks From Multimedia File, From Wave File and To Multimedia File. However when I start the simulation the following erors occurs: Block error To Multimedia File Error reported by S-function 'sdspwmmfo2' in 'MovieWit... 16 Sep 2009 17:28
fmincon constraints
Hello everyone, I am using fmincon to obtain 3 parameters that all are positive real numbers. However, Matlab gives me complex values. Is there any way to define the constraints so Matlab only consider real values while searching for the minimum? Thank you, Mehdi ... 16 Sep 2009 17:28
Overwrite multiple console output lines
"mark p" <markmp(a)removemeplease.yahoo.com> wrote in message <gr3ueq$b23$1(a)fred.mathworks.com>... "Alan " <public1(a)endemeo.com> wrote in message <gnl9tv$l29$1(a)fred.mathworks.com>... I've submitted this behavior as a new bug report. The carriage return should be a simple carriage return, just as the documentatio... 16 Sep 2009 12:56
how to redirect warnings to a textbox
Hello, I was wondering if it's possible to redirect warning messages from the console, where they usually appear, to a textbox in a GUI. Thanks, Dan ... 17 Sep 2009 12:25
Associating event function with a variable
Hi all, I have a problem of triggering an event (change in a variable value, say y=2) when a certain variable reaches a certain value (say variable x becomes 0). How can I implement this using Events in MATLAB? Furthermore, my requirement is to trigger the event just once when the event reaches that state until the ... 16 Sep 2009 14:05
KNITRO
I am trying to minimize a function using knitro under a "for" loop which describes the different agents for which I solve the problem. now, under [jk,fval]=ktrlink(...) where I need to specify my constraints I have one constraint for each agent i how can I tell matlab to solve for each i using the i'th constraint? ... 21 Sep 2009 04:28
Segmentation violation due to MEX code
Hey I have encountered the same problems you had before. You said you had fixed the data type so it worked finally I wanna know how you did that work can you tell me how you did that in detail somehow? ... 16 Sep 2009 08:25