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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 3

| akzeptiert

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

etwa 15 Jahre vor | 0

Mehr laden