Respondida
Sparse matrices in Simulink
The MATLAB sparse matrix type is not supported with any block in Simulink as far as I know. You need to convert your matrix to a...

alrededor de 15 años hace | 0

| aceptada

Respondida
How can the previous value of a block input be accessed in a tlc file?
There is no direct way to access the previous input of an S-function in TLC, just as there is no way to access it in the corresp...

alrededor de 15 años hace | 0

Respondida
Shared Utilities template file
Typically, the <http://www.mathworks.com/help/toolbox/ecoder/ug/f6010dfi4.html#bp9ikmj-1 CGT files> associated with the target c...

alrededor de 15 años hace | 0

Respondida
import user32.dll and use the 'BlockInput' function in it
Try: addpath('C:\WINDOWS\system32\') loadlibrary user32 winuser.h If you continue to see the same error, try: lo...

alrededor de 15 años hace | 0

Respondida
Compiling a Matlab Builder for Java class for an older version of Java
As per the discussion on <http://stackoverflow.com/questions/1766216/exception-while-compiling-wrong-version-50-0-should-be-49-0...

alrededor de 15 años hace | 0

| aceptada

Respondida
need SSIM.m code
<http://www.mathworks.com/help/techdoc/ref/nargin.html nargin> returns the number of input arguments passed into the function -...

alrededor de 15 años hace | 0

Respondida
Need to put a max value on my variable
Could you have your code call a helper function (say addOne) that saturates the value at 50? That seems like the simplest soluti...

alrededor de 15 años hace | 0

Respondida
No Piccolo F28027 Embedded target in Matlab 2011a 64bit?
See <http://www.mathworks.com/support/solutions/en/data/1-579TVF/index.html?solution=1-579TVF Which version (32 or 64-bit) is in...

alrededor de 15 años hace | 0

Respondida
cannot dynamically load executable
First, I would recommend using the nm or ldd utilities to figure out all the library dependencies that are not being resolved (i...

alrededor de 15 años hace | 0

Respondida
Running counters using S-functions
If this is all you want your S-function to do, then you can simply implement your own subsystem (using a unit delay block to sto...

alrededor de 15 años hace | 0

| aceptada

Respondida
Using Coder's generated C files in Visual Studio ?
Have you included faceImage.c in your Visual Studio project? Note that if you are calling C functions from C++ files, you ne...

alrededor de 15 años hace | 2

Respondida
open URL in Media Player
Have you tried using the <http://www.mathworks.com/help/techdoc/ref/open.html OPEN> command?

alrededor de 15 años hace | 0

Respondida
How to Run Simulink Model from Matlab while in External Mode
This section of the documentation explains how to achieve that: <http://www.mathworks.com/help/toolbox/rtwin/ug/f8790.html#f2787...

alrededor de 15 años hace | 2

Respondida
MATLAB Builder for .NET 1.1
It appears that support for .NET Framework 1.1 was <http://www.mathworks.com/help/toolbox/dotnetbuilder/rn/bry495w-1.html#bry495...

alrededor de 15 años hace | 0

| aceptada

Respondida
How to use generated matlab code (.h .dll .lib) in c++ program
See <http://www.mathworks.com/help/toolbox/compiler/f2-972343.html#f2-999458 C Shared Library Target > Calling a Shared Library>...

alrededor de 15 años hace | 1

| aceptada

Respondida
need help with MATLAB reference libraries.
The <http://www.mathworks.com/products/matlab/demos.html?file=/products/demos/shipping/matlab/mlcomiface.html Programming with C...

alrededor de 15 años hace | 0

| aceptada

Respondida
How can I learn Matlab on Image processing Using C programming
See: http://www.mathworks.com/matlabcentral/answers/1148-how-to-learn-matlab and http://www.mathworks.com/matlabcentral...

alrededor de 15 años hace | 0

Respondida
GPS data generator
It seems there is a third-party product that enables this: <http://www.mathworks.com/products/connections/product_detail/product...

alrededor de 15 años hace | 0

| aceptada

Respondida
RTWT error
This may be related to <http://www.mathworks.com/support/bugreports/527618 Bug# 527618>. To verify the length of the MATLAB p...

alrededor de 15 años hace | 0

Respondida
What does a Distributed Computing Server license of 16 workers mean?
As far as my understanding goes, it means that the MATLAB Distributed Computing Engine can be configured to work with a cluster ...

alrededor de 15 años hace | 1

Respondida
Specify runtime path with mex
I would recommend separating out the compiler and linker flags and pass them into MEX using something like: mex -v CFLAGS=...

alrededor de 15 años hace | 1

Respondida
Simulink S function builder Output Code
TT_Tools_demo.m is a MATLAB function, so it cannot directly be called from a C-MEX S-function. Is there a reason you would like ...

alrededor de 15 años hace | 0

Respondida
Problem with external matlab to VC++ 2008
It is possible that your Visual C++ project is configured to compile a 32-bit application (so it cannot recognize the 64-bit bin...

alrededor de 15 años hace | 0

Respondida
Blackfin and Realtime WS
Have you tried checking the "Generate code only" box in the Real-Time Workshop or Code Generation pane in the Configuration Para...

alrededor de 15 años hace | 0

Respondida
Linking MATLAB GUI to a website
I don't think it is possible to directly deploy a GUIDE GUI over the web. You can however compile your code for numeric calculat...

alrededor de 15 años hace | 0

Respondida
MEX with fortran object files
You need to write a gateway C/FORTRAN MEX-function that calls into your object file. The <http://www.mathworks.com/help/techdoc/...

alrededor de 15 años hace | 0

Respondida
What are some tips for writing efficient C/C++ code for S-Functions?
Regarding Lookup Tables vs. S-Functions, it really depends on your application. Lookup Tables may be faster than (complex) compu...

alrededor de 15 años hace | 0

| aceptada

Respondida
How to use the polyfit block in Simulink
How are you feeding in 'y' to the "Least Squares Polynomial Fit" block? The length of the input to the block must be the same as...

alrededor de 15 años hace | 0

Respondida
How do I get the minor time in a MATLAB s-function?
Actually, block.CurrentTime gives the value of the current time-step in the simulation (could be either major or minor). The blo...

alrededor de 15 años hace | 3

| aceptada

Respondida
Compiling Matlab code for deployment
Even though the default installation of Visual Studio (on 64-bit machines) installs only 32-bit compilers, you can choose specif...

alrededor de 15 años hace | 0

Cargar más