Answered
Mex-file Error When Code Called From Web Server
See if <http://www.mathworks.com/support/solutions/en/data/1-BO1G9J/index.html this solution> helps.

14 years ago | 0

Answered
Error in port widths or dimensions
Your input to the State-Space block has a dimension of 1x4, but B has dimensions 2x2 - this doesn't make sense because you can't...

14 years ago | 1

Answered
Calling mex function from within Simulink
As Friedrich mentioned in his comment, MATLAB MEX-functions can be invoked from a MATLAB Function block, but they are not suppor...

14 years ago | 0

| accepted

Answered
Bloc "Input1" in Simulink
Inport/Outport are used as boundary blocks for a system. When used within a subsystem, they create inputs/outputs to the subsyst...

14 years ago | 1

Answered
How can I use the program developed by C# and matlab in the other computer without matlab? It is very important for me!!!!!!
It looks like you are invoking the <http://www.mathworks.com/help/releases/R2011b/techdoc/matlab_external/f135590.html#f134116 M...

14 years ago | 1

Answered
Read XLSX file on a Mac with R2012a doesn't work?
I'm not sure that the basic mode is specific to XLS or XLSX files. AFAIK, on Mac/Linux platforms, XLSREAD only works in basic mo...

14 years ago | 1

| accepted

Answered
Targetinstaller not working on Mac OS X
It appears that the Run-on-target feature is only supported on Windows (32-bit and 64-bit): http://www.mathworks.com/help/too...

14 years ago | 0

| accepted

Answered
MEX Compilers
AFAIK, gcc has been supported for a long time. Probably starting in <http://www.mathworks.com/support/compilers/1601_65.html#UNI...

14 years ago | 1

Answered
Getting SS representation of the system via Simulink
I think you can use either <http://www.mathworks.com/help/toolbox/simulink/slref/dlinmod.html dlinmod> or <http://www.mathworks....

14 years ago | 0

Answered
What kind of Simulink block is this?
Actually, the MATLAB Function block has been renamed to Interpreted MATLAB Function block; and the Embedded MATLAB Function bloc...

14 years ago | 0

| accepted

Answered
What are continuous and discrete states in Simulink?
In my own words, a crude word to use in place of "state" is "memory". A state adds memory to a system in such as way that the ou...

14 years ago | 28

| accepted

Answered
Difference b/w virtual and non virtual bus?
A bus signal is simple a structure signal containing numeric elements. When a bus signal has a Simulink.Bus object associated wi...

14 years ago | 2

Answered
The Embedded-C code format does not support continuous sample time blocks.
Does the error message point to specific blocks that cause the error? Also, try turning on <http://blogs.mathworks.com/seth/2008...

14 years ago | 0

Answered
Setting up a Simulink model from GUI in a way that allows me to compile afterwards
Since you need to run the model on a machine that does not have MATLAB/Simulink installed, I presume you plan to use Simulink Co...

14 years ago | 0

Answered
Problem with plotting using a GUI and Simulink
You need to register Simulink execution event listeners for the plot to update as the simulation runs. See <http://www.mathworks...

14 years ago | 0

| accepted

Answered
How to display a mux signals bits?
What you want to do is string-based concatenation. Since strings are not supported signal types in Simulink, it might be best to...

14 years ago | 1

Answered
Embedded Matlab Function Block
That's because you've assigned X=0; at the top of the function, so your statement in Condition#3 for X=1; is effectively overwri...

14 years ago | 0

Answered
custom number of the inputs 4 C sfunction
This my reply to your comment <http://www.mathworks.com/matlabcentral/answers/30433-dynamically-change-the-number-of-ports-of-a-...

14 years ago | 0

| accepted

Answered
Real-time Simulation
See <http://www.mathworks.com/matlabcentral/answers/21101-realtime-object-tracking-with-webcam-in-simulink this previously answe...

14 years ago | 0

| accepted

Answered
Delaying a continuous signal for a user specified duration in SIMULINK
Perhaps you could put the delay block inside an Enabled Subsystem, which is enabled at t=0 and disabled at t=4hrs?

14 years ago | 0

| accepted

Answered
Sending data from simulink to labview
I'm not familiar with LabVIEW, but you might find the <http://zone.ni.com/devzone/cda/tut/p/id/3057 LabVIEW Interface to Simulin...

14 years ago | 0

Answered
How to convert .m file to .mex file
You will need to do that manually, unless you use the <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder> product whi...

14 years ago | 1

Answered
Matlab gui into .dll
Yes, you can using the MATLAB Compiler product. See <http://www.mathworks.com/help/toolbox/compiler/f2-963587.html MATLAB Compil...

14 years ago | 0

| accepted

Answered
Launching MATLAB from Visual studio 2010 as an Automation Server in Desktop Mode
Since the MATLAB Engine API on Windows uses COM anyway, perhaps you could use the automation server interface directly? See <htt...

14 years ago | 0

| accepted

Answered
global variable in a S-function
From your description, this seems like the supported workflow. Please specify the error message that you see? Also, please ensur...

14 years ago | 0

Answered
Multicore Simulink Model
Each simulation is single-threaded and will run only on one core, but if you need to run multiple simulations (say with a parame...

14 years ago | 0

| accepted

Answered
Compile and Debug Mex files with Visual Studio 2010
The S-function block does actually accept only MEX-file names. For example, if you have a file called mytest.mexw32, enter "myte...

14 years ago | 0

| accepted

Answered
Toggle manual switch through m-file script
The parameter is called 'sw', not 'varsize'. You need to use: >> set_param('ecg_filter/sw1', 'sw', '0') >> set_param('ec...

14 years ago | 9

| accepted

Answered
RGB image to Binary Image Conversion using Simulink
Did you mean RGB to Grayscale? How about using basic Simulink blocks to implement the equation here: http://www.mathworks.com/su...

14 years ago | 2

Answered
About Matlab C++ Math Library
AFAIK, the MATLAB C++ Math Library was retired around R14. You now need to use the MATLAB Compiler product to deploy MATLAB code...

14 years ago | 1

Load more