Beantwortet
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...

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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>...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 2

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

mehr als 14 Jahre vor | 1

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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)...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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 '...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 2

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 9

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Mehr laden