Answered
Switching sinusoidal signals at the same ampltude and in the same half wave
Doing exactly what you describe can be pretty complex. If you are constructing the signals in the model using basic blocks, it m...

14 years ago | 0

Published


Importing variable-step signals into Simulink
This week I received the following question from a Simulink user: I have a data acquisition system which saves signals at...

14 years ago

Thumbnail

Published


Data Store Enhancement: Accessing Specific Bus and Array Elements
In Simulink R2011a, Data Store blocks have been improved to support bus signals and more. To give you a quick idea, these...

14 years ago

Thumbnail

Answered
Simulink Object tracking
If you care only about the kinematics of 2 points in space, I agre that there is no need for SimMechanics and Simulink or MATLAB...

14 years ago | 0

| accepted

Answered
Problem in Signal Builder
Import from file is a feature introduced in R2010b. If you have an older release, you need to upgrade

14 years ago | 0

Answered
How to iterate through a bus object intil I have a struct of primitives which match RTW output with a script
I am not sure what you mean by "drill down into the buses". Probably the one of the "Simulink.Bus.xxx" functions can be usefu...

14 years ago | 0

Answered
How do I get the minor time in a MATLAB s-function?
I recommend looking at this submission: http://www.mathworks.com/matlabcentral/fileexchange/22695-minor-time-step-logging ...

15 years ago | 0

Answered
Error in Physical Conserving port p
The reason is that the Physical Conserving ports are not connected to any other physical blocks. The resolve the issue, you ...

15 years ago | 1

Answered
Drift in simMechanics forward dynamics solver
Based on the description, it seems like your model contains a closed loop (something like ground-Joint-Body-Joint-Ground). If t...

15 years ago | 0

Published


Making things easier
With every release, we add new capabilities to improve the usability of Simulink. In R2011a, there is a good list of...

15 years ago

Thumbnail

Published


Asynchronous Function-Call Inputs to Models
In Simulink R2011a, it is possible to pass asynchronous function-call signals through Inports of a model. This enables the...

15 years ago

Thumbnail

Answered
Buses as inputs/outputs in C MEX S-Functions
Yes it is possible. What I recommend is to use the S-Function builder as a starting point. Use the S-Function Builder to gene...

15 years ago | 0

Answered
How to get the remainder of a division in Simulink?
Use the "rem" option of the Math Function block: http://www.mathworks.com/help/toolbox/simulink/slref/mathfunction.html @ Paul...

15 years ago | 3

| accepted

Answered
Hyperlink to a pdf file within a Simulink model
Simulink Verification and Validation provides this exact functionality. Here is the product page: http://www.mathworks.com...

15 years ago | 1

| accepted

Published


Blog Image Processing with Simulink
Seth: A change is coming. As you may have noticed, the title of this blog is no longer a perfectly accurate description of...

15 years ago

Thumbnail

Answered
I keep getting this error "There is no 'EditingMode' property in the 'SimscapeCC' class."
I never saw that one. I recommend contacting technical support

15 years ago | 0

Published


Introducing the System Toolboxes
This week I am teaming up with my colleague Ken Karnofsky to introduce another big change in MATLAB R2011a. Guy: So Ken,...

15 years ago

Thumbnail

Answered
Variable scope in Simulink .mdl files
I recommend looking at these 2 solutions for 2 different options: http://www.mathworks.com/support/solutions/en/data/1-ASPEIV...

15 years ago | 2

| accepted

Published


Welcome to the Coders!
By Guy Rouleau Did you already install MATLAB R2011a? If you are used to generating code from Simulink, the first...

15 years ago

Thumbnail

Published


Under development: Simulink Symphonics
Today we have been authorized to give you a sneak peek at a new blockset Guy is working on: SimMusic. Seth: This new tool...

15 years ago

Thumbnail

Answered
where is emlmex?
In R2010b, you need Real-Time Workshop.

15 years ago | 0

Published


??? Invalid Simulink object name
Did you ever get an error like this? pre.codeinput { background: #EEEEEE; padding: 10px; } @media print { ...

15 years ago

Thumbnail

Answered
reaction wheel simulation with simulink
SimMechanics is what you need. You can just specify the bodies and their relations and it will compute the results for you, no n...

15 years ago | 2

| accepted

Answered
simscape pneumatics
I would like to mention 2 things: 1 - Connecting pneumatic components requires a good knowledge of the domain and the equatio...

15 years ago | 0

| accepted

Published


Different Results in Accelerated Mode Versus Normal Mode
By Guy Rouleau This week I received a large model giving different results when used as a referenced model in Accelerated...

15 years ago

Thumbnail

Answered
Opinion simulink
In your image, lsc and Tref and sources, very likely Constant blocks! When you create a simulation, you need to know that num...

15 years ago | 0

Answered
How to create an input signal from acquired data
Laura's solution is one good approach. If you want to import your data directly from Excel to the Signal Builder block, follo...

15 years ago | 0

Answered
difficulties with add_block
Not sure what is going wrong for you. The following works for me: load_system('nesl_utility') add_block(sprintf('nesl_ut...

15 years ago | 1

| accepted

Answered
pid controller optimisation using fminsearch---pls help me
Here is what you need: http://www.mathworks.com/products/simcontrol/

15 years ago | 0

Answered
How to insert a function handle in simulink !?
In a Level 2 MATLAB S-function, you should be able to use your function in the same way as you do in MATLAB. Do you receive a...

15 years ago | 0

Load more