Respondida
User defined Simulink blocks, Hierachical design, Code Re-use...
Hi Alex, Based on the description I believe you want a library. Although that link has a lot of information, they are really...

más de 11 años hace | 0

Respondida
Simulink parameter optimization for walking algorithm
In my opinion, 20 Parameters is a significant optimization problem. I would try to narrow down the parameters required to those...

más de 11 años hace | 1

Respondida
How can I use a continuous integrator in atomic subsystem?
The error you are seeing is effectively saying you cannot have continuous blocks if you define a discrete sample time on the ato...

más de 11 años hace | 1

Respondida
Making sample times visible
I may need more details, but it sounds like you could put the stateflow model inside of an <http://www.mathworks.com/help/simuli...

más de 11 años hace | 0

Respondida
Why isn't there a bsxfun block in Simulink?
Why doesn't the <http://www.mathworks.com/help/simulink/slref/product.html product block> work? It can perform element by eleme...

más de 11 años hace | 1

Respondida
Any -WORKING- conversion function for .mdl between Simulink versions ?
If you're having a lot of trouble with exporting to a previous version there are a couple things you can try to find the problem...

más de 11 años hace | 0

Respondida
simmechanics_rigid transform error relating to the vector
Paste the offset vector in your workspace. It reads like L_Link is already a 3 element vector and you are concatenating two 0's...

más de 11 años hace | 0

Respondida
Simulink: Determine time needed for simulation
You can use the <http://www.mathworks.com/help/simulink/ug/capturing-performance-data.html Simulink Profiler>

más de 11 años hace | 0

Respondida
Array as input for look-up table in simulink
Have you tried the n-d lookup tables? If that doesn't work you can also try defining it as a data store. You can setup the IC ...

más de 11 años hace | 0

Respondida
Body CS in SimMechanics
Well if you change at the very start of simulation a parameter should work, where you define it in your workspace. So CS1 would...

más de 11 años hace | 1

Respondida
Help needed with Simulink model
Check out <http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/ this blog post> about modeling ODE's in Simu...

más de 11 años hace | 2

| aceptada

Respondida
Add Port to SimMechanics Body Block programmatically
This is a tough one for me, but I'll try to get you started. I should mention that SimMechanics 2G is now available too. If ...

casi 12 años hace | 0

Respondida
Modelling from Equations in Simulink
Check out the <http://blogs.mathworks.com/seth/2008/05/23/how-to-draw-odes-in-simulink/ modeling ODEs in Simulink> blog post. O...

casi 12 años hace | 1

Respondida
How to search .slx files (or convert them to text)
First, I would recommend finding a way to do this without using the actual text. That being said, you can open up a .slx file wi...

casi 12 años hace | 0

Respondida
can i convert the existing c code to simulink model or i have to forget about the code rebuild a model for the logic?
You can do this with <http://www.mathworks.com/help/simulink/sfg/s-function-examples.html s-functions>. If you run into trouble...

casi 12 años hace | 1

Respondida
How to stop a program after a given time input?
Try the <http://www.mathworks.com/help/matlab/ref/timer.html timer object> using a single shot execution mode.

casi 12 años hace | 0

Respondida
Running model callbacks in model workspace
I don't believe you can change the default behavior here. How much extra work is using the evalin function? Are you calling a ...

casi 12 años hace | 0

Respondida
How to create custom blocks in Simulink for Arduino
This was just posted on the <http://blogs.mathworks.com/seth/2013/04/12/creating-driver-blocks-for-arduino-lego-and-other-target...

casi 12 años hace | 0

Respondida
How to get from continuous time to discrete?
1/z and 1/s are NOT equivalent. 1/s is an integration while 1/z is a delay, totally different. You can use the <http://www.mat...

casi 12 años hace | 0

Respondida
What does error: "The selected subsystem exposes Simscape connection ports, which model reference does not support." means
The error is fairly self explaining, so I will try to clear it up as best I can. Short answer: Simscape ports (they look like...

casi 12 años hace | 1

Respondida
Simulink - SimEvents - how to design a simulation and how to remember variables - a beginner asks for help&hints
1) What do you mean by multiplying and connecting? Do you mean copying to create multiple nodes, like with a library? 2) <ht...

casi 12 años hace | 0

| aceptada

Respondida
Are there other timer predicates than after() and before() in Simulink finite state machines?
EDIT: I just realized you can get the simulation time from within stateflow. You can grab the simulation time when you enter th...

casi 12 años hace | 0

| aceptada

Respondida
Program Beagleboard-xM DSP with Simulink
Beagleboard support will not supply you with generated code that you can read. It is designed so that the code is compiled for ...

casi 12 años hace | 0

Respondida
How to initialize a variable only once in an embedded matlab function?
You can try the <http://www.mathworks.com/help/matlab/ref/exist.html exist> function. This will check to see if they exist. If...

casi 12 años hace | 0

Respondida
Can model variants be switched while model is running (simulating)?
The best you can do is have 2 models running at the same time and use a switch to toggle the two. Unfortunately Simulink will h...

casi 12 años hace | 0

| aceptada

Respondida
how to plot bode plot(frequency plot) in simulink ?
Why do you need the additive noise to find the bode plot? I would first suggest using the <http://www.mathworks.com/help/slcont...

casi 12 años hace | 0

Respondida
during the simulation following error is occured " the number of defined parameters, 11, does not match the number of parameters on the dialog which is 10"how can i remove this error?
It sounds like you defined 11 parameters in the s-function and only put 10 in the dialog. You need to look at the s-function to...

casi 12 años hace | 1

| aceptada

Respondida
How to parse a string in simulink?
If you want to use strings in Simulink, particularly if you want to generate code, I would suggest converting to ASCII character...

casi 12 años hace | 0

Respondida
How to I efficiently connect Matlab data to Simulink Blocks?
You want to use the <http://www.mathworks.com/help/control/ref/ltisystem.html LTI System Block>. This allows you to simply ente...

casi 12 años hace | 0

| aceptada

Respondida
Can I Tune a Controller with a Large Number of Symbolic Gains using Sisotool?
SISOTOOL is a Control System Toolbox function which does not work with symbolic variables. Control design (at least in terms of...

casi 12 años hace | 0

| aceptada

Cargar más