Answered
Arduino connection with Matlab R2007b
Did you mean the Simulink <http://www.mathworks.com/help/toolbox/simulink/ug/bta0i0k.html Run on Target> feature? If yes, this i...

14 years ago | 0

Answered
PIL Block build error
The documentation section <http://www.mathworks.com/help/toolbox/ecoder/ug/bswv2u0.html#bs24ayf-1 Example — Performing a Model B...

14 years ago | 0

Answered
mxCreateDoubleMatrix returns NULL when called from C program on a system using MCR
What arguments do you pass into mxCreateDoubleMatrix? If your applications compiles and links property, and doesn't have other r...

14 years ago | 0

Answered
SimState error
The parameter 'Mcart' on the block 'penddemo/Pendulum' is used under the mask in a <http://www.mathworks.com/help/toolbox/simuli...

14 years ago | 0

| accepted

Answered
Problems with Simulink Coder
MATLAB S-functions are supported for code-generation only if you can provide a TLC file for it, in order to specify the code to ...

14 years ago | 1

Answered
engEvalString like function you can use from within a MatLab M file?
I am not familiar with JMatLink, but engEvalString should not open a new instance of MATLAB. It is the engOpen and engClose com...

14 years ago | 1

| accepted

Answered
Can I download older versions of MCR?
The MCR is being distributed on the web only starting in R2012a. For older releases, you will need to get it from the developer ...

14 years ago | 1

| accepted

Answered
Error when executing in runtime mex compiled file (also in runtime) - C standalone
My guess is that the MEX command is failing. (I'm not even sure how the MEX command words in deployed MATLAB code). Perhaps you ...

14 years ago | 0

Answered
Problem converting std::vector type to mwArray
Strange, seems like that should work. How about if you try the documentation example: double rdata[4] = {1.0, 2.0, 3.0, 4...

14 years ago | 1

Answered
Save Video on XPC Target
Not a 100% sure that this is the right solution, but how about connecting the output of the webcam driver to a <http://www.mathw...

14 years ago | 0

Answered
Error in Simulink: Invalid MEX-file
That is a Stateflow MEX-file - it looks like it may depend on some Microsoft Visual Studio redistributables that you are missing...

14 years ago | 1

Answered
Magnetic Sensor in LEGO MINDSTORMS NXT Support from Simulink
From what I know the Simulink <http://blogs.mathworks.com/seth/2012/03/05/running-simulink-models-on-lego-mindstorms-nxt/ Run on...

14 years ago | 0

| accepted

Answered
pass a function in a .m file as a parameter to StartFcn callback property.
You can either do it by command-line: >> set_param('modelname', 'StartFcn', 'matlabfcntorun') Or to do it interactively...

14 years ago | 0

| accepted

Answered
compiling
See <http://www.mathworks.com/help/toolbox/compiler/bsl9c8_.html#bsl9d4s this page> for an explanation of the options on the "Pa...

14 years ago | 0

Answered
Creating Embedded Device Drivers for Simulink
At a glance, I don't see anything wrong with your mdlInitializeSizes. Could you try <http://www.mathworks.com/help/toolbox/simul...

14 years ago | 0

Answered
Simulink model for lithium-titanate battery
I can't find it in the documentation, so it doesn't look like the SimPowerSystems blockset has such a block. However, you can pu...

14 years ago | 0

Answered
random number using simulink
Use the <http://www.mathworks.com/help/toolbox/simulink/slref/reciprocalsqrt.html Sqrt> and <http://www.mathworks.com/help/toolb...

14 years ago | 1

Answered
Using Real-Time Workshop and xPC Target: data acquisition from RTDS
I think this might be possible if you develop a <http://www.mathworks.com/help/toolbox/xpc/driver/f1-10820.html custom xPC Targe...

14 years ago | 0

Answered
can matlab compiler produce libraries (like DLLs) or can one matlab exe call another?
I don't know too much about this, but it seems like one exe calling another shouldn't have any issues, but I'm not sure about ca...

14 years ago | 0

Answered
Error Calling Generated SFunction - resulting in very slow model exectution
Is the name of your model untitled.mdl? Could you try deleting the untitled_sfun.mexw32 file, and try re-running your model? Als...

14 years ago | 0

Answered
Face recognition in simulink using eigen face method. Loading eigen faces matrix to simulink.
If you have time-varying data, you need to use either the <http://www.mathworks.com/help/toolbox/simulink/slref/fromworkspace.ht...

14 years ago | 0

Answered
Basic Concept Help - Using DLL want to make an interface file - I Only want one file with multiple functions (like a class in ANSI C / C++)
I haven't tried this before, but according to the documentation for the <http://www.mathworks.com/help/toolbox/compiler/mbuild.h...

14 years ago | 0

Answered
Matlab error
What is the value of 'u' that you pass in at line 163? It appears the issue is that you are passing in an empty array (ie. 0 inp...

14 years ago | 0

Answered
Simulink overload conditions
Simulink/MATLAB would simply wait for a CPU cycle, just like any other software on a non-real-time OS. In other words, the model...

14 years ago | 1

Answered
engEvalString source code, Matlab
engEvalString is defined in the shared library or DLL named "libeng" - engine.h is simply where the declaration resides. The fun...

14 years ago | 2

| accepted

Answered
Simulink State Flow
Yes, you can call MATLAB functions in a Stateflow chart. See <http://www.mathworks.com/help/toolbox/stateflow/ug/f6-98588.html B...

14 years ago | 1

| accepted

Answered
Problem with MWArray.dll
Perhaps you are using a component generated using 32-bit MATLAB on a 64-bit machine? If yes, please see <http://www.mathworks.co...

14 years ago | 0

Answered
Dynamic array creation in s-function builder.
As per the limitations of S-function Builder listed in the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/sfg/b...

14 years ago | 0

Answered
Difference between embedded- matlab and simulink
Did you mean to say the Embedded MATLAB Block? That is just one type of block in Simulink. If you mean Embedded MATLAB as a lang...

14 years ago | 1

Answered
S Function : How to output the derivatives
I don't think this is possible in a Level-1 MATLAB S-function, but in a Level-2 MATLAB S-function, you might be able to create a...

14 years ago | 1

Load more