Answered
Discrete to continuous- Problem with signal dimensions
I would recommend replacing the connection to the block connected to the second output of the Demux block with something like an...

14 years ago | 1

Answered
Audio signal sampling in Simulink
See <http://www.mathworks.com/help/releases/R2011b/techdoc/import_export/f5-132080.html#bsdl2em Recording Audio>.

14 years ago | 0

Answered
Converting a .mat file to .xls
You need to write MATLAB code to do this. First load the contents of the MAT-file into the workspace using the <http://www.mathw...

14 years ago | 0

Answered
Creating GUI for Step Signal Block
You can follow the documentation on <http://www.mathworks.com/help/techdoc/creating_guis/f3-998349.html creating GUIs in MATLAB>...

14 years ago | 0

Answered
Output to LTIViewfrom Simulink
You can use the <http://www.mathworks.com/help/releases/R2011b/toolbox/slcontrol/ug/linearize.html linearize> function on your m...

14 years ago | 0

Answered
How to Import a .mat file in simulink ???
You can use the <http://www.mathworks.com/help/toolbox/simulink/slref/fromfile.html From File> block. Please pay attention to th...

14 years ago | 0

Answered
Text Input in Simulink
Simulink signals can only be numeric or buses (structures) comprising numeric types. Character data types are not allowed. Perha...

14 years ago | 0

| accepted

Answered
Errors related to Simulink containing Embedded Matlab Function
You need to run the "mex -setup" command and select your installed compiler.

14 years ago | 0

Answered
How to Stop the Execution of Simulink in response to a Signal
Try the <http://www.mathworks.com/help/toolbox/simulink/slref/stopsimulation.html Stop Simulation> block. It stops the simulatio...

14 years ago | 2

Answered
regarding .bin file generation
I'm not sure what compiler tools are needed to produce the .bin format that you require, but you can generate standalone C/C++ c...

14 years ago | 0

Answered
Is possible to call a callback each time you change a property (in mytarget.tlc)?
What you are doing sounds correct and should work every time the property is changed - maybe there is some small error in implem...

14 years ago | 0

| accepted

Answered
Time Scope Configuration in Simulink
It's not clear which parameters on the block you are attempting to modify - perhaps you can tell us exactly what you're changing...

14 years ago | 0

Answered
which simulink blocks can I use to create the function below ??
Function handles were not supported in Embedded MATLAB Function blocks until fairly recently, additionally, fsolve is not amongs...

14 years ago | 0

| accepted

Answered
Documenting an evolving Simulink model
By model setup - if you mean just parameters, then you can of course make them all workspace variables and save the values of th...

14 years ago | 1

| accepted

Answered
Running a compiled exe on computer with MATLAB already installed but w/o compiler function
Does the application automatically install the MATLAB Compiler Runtime (MCR) libraries the first time you attempt to run it? If ...

14 years ago | 1

Answered
model a discrete system without using mdlupdate routine
Writing a mdlUpdate is the correct way to do this. Is there a reason you want to avoid that? You could of course get around t...

14 years ago | 0

| accepted

Answered
Tying Simulink Coder to the Simulink Model
Yes, you can create your own device driver block to act as a source/sink. See http://www.mathworks.com/help/releases/R2011b/tool...

14 years ago | 0

| accepted

Answered
Using RTW is the only way to generate a S-Function from a subsystem block
No, as far as I know, that is the only way to do that automatically. You need a Real-Time Workshop (now Simulink Coder) license ...

14 years ago | 0

| accepted

Answered
build a static library instead of a dynamic one with MEX compiler
# It is not to make MEX-files static libraries, because MATLAB cannot dynamically load static libraries - your MEX-file would th...

14 years ago | 0

Answered
rtwintgt
There seems to be a small bug in the RTWT installer in R2011b which causes problems when your MATLAB is installed in a path cont...

14 years ago | 1

| accepted

Answered
Deployment Tool
You should add it under "Additional Files" in the deploytool project - this will automatically package your file with the compil...

14 years ago | 0

| accepted

Answered
Can't find analog signals in Simulink (sf_boiler example)
From what I understand, the ADC basically quantizes the signal, and converts a double value to a fixed-point (limited precision)...

14 years ago | 0

| accepted

Answered
A problem about MATLAB R2011b Builder EX on XP and Win 7
This looks like a bug due to a space present in the path where you are compiling for. Note how it says "cannot open input file '...

14 years ago | 0

| accepted

Answered
red dotted wire problem in simulink
You are probably attempting to connect a Simulink signal to a physical signal, or vice versa. These are signals in two different...

14 years ago | 2

Answered
Compiled Stand Alone Application won't function properly without installing LCC compiler.
Are you sure the issue is due to the call to LIBPOINTER and not LOADLIBRARY? (You could insert some "disp" statements after each...

14 years ago | 0

| accepted

Answered
accessing workspace variables in embedded matlab function
I'm not sure that it is safe to clear the 'logsout' variable during simulation, because the model might have it locked down. Add...

14 years ago | 0

Answered
Matlab/Simulink Objects in C++ application
If you're using a PC-based GUI, you are essentially losing the "real-time" processing that the RTWT kernel provides - is there a...

14 years ago | 0

Answered
Is possible to view the mask of the Simulink blocks?
Sure you can, right-click on the block and select "View Mask" - the option is disabled for blocks that are not masked. You can s...

14 years ago | 0

Answered
Turn off compile mode
Run the following command to terminate simulation: >> model([], [], [], 'term')

14 years ago | 9

| accepted

Answered
Converting matlab code into Code Composer Studio project.
I don't know of a direct way to do what you need, but you can do one of two things: # Bring your MATLAB code into Simulink us...

14 years ago | 0

Load more