Answered
Can I use MATLAB Builder JA to run simulations created in Simulink?
MATLAB Compiler, and consequently, MATLAB Builder JA does not support Simulink. The list of supported functionality with MATLAB ...

15 years ago | 0

| accepted

Answered
Convert c++ structs to mwArray, to use in c++ shared library
See <http://www.mathworks.com/support/solutions/en/data/1-509ESY/index.html Technical Solution# 1-509ESY>

15 years ago | 0

Answered
Can I call quadprog() using Embedded MATLAB from Simulink?
<http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-9.html#bq1h2z7-11 This> is the list of functions supported with Embedded M...

15 years ago | 1

Answered
emlc error in converting M-code to C-code
You need to get one of the supported compilers and then run mex -setup: http://www.mathworks.com/support/compilers/release2008a/...

15 years ago | 1

| accepted

Answered
executable file without supporting file?
You can check the <http://www.mathworks.com/help/toolbox/compiler/bsl9c8_.html#bsl9d4s Embed the MCR in the package> option in d...

15 years ago | 0

Answered
Redirection using Unix 'ls' list command
The bang(!) operator and system command essentially redirect the command to the system shell - is it likely that you have a Wind...

15 years ago | 0

Answered
Extracting Simulink Data to C-Library during runtime (Book suggestion?)
You could use the MATLAB Engine API to call into MATLAB from an external C-library: <http://www.mathworks.com/help/techdoc/matla...

15 years ago | 0

Answered
How do I read Text from HTML file ?
if the HTML file consists of valid XML, you might be able to use <http://www.mathworks.com/help/techdoc/ref/xmlread.html xmlread...

15 years ago | 3

Answered
Sending Simulink Model to third party Customer
See answer to <http://www.mathworks.com/matlabcentral/answers/552-protecting-a-simulink-block-with-a-password Question#552>

15 years ago | 0

Answered
Initialization in Simulink
You can also store data in the <http://www.mathworks.com/help/toolbox/simulink/ug/f4-140122.html Model Workspace> if you'd like ...

15 years ago | 0

Answered
Taking waveforms from simulink to arbitary waveform generator
You can log the signal to workspace using To Workspace block, and then use the <http://www.mathworks.com/products/instrument/?s_...

15 years ago | 0

Answered
Why am I getting an error about singularities when using an Integer block?
See the answer to a similar question here: <http://www.mathworks.com/matlabcentral/answers/867-simulink-error Question#867>

15 years ago | 1

| accepted

Answered
SimMechanics Link
Did you try: install_addon('smlink.r2010b.win32.Zip') If this doesn't help, could you point to the page you downloaded these...

15 years ago | 4

| accepted

Answered
Can I make a linux library on Windows using MinGW?
Although MEX files are similar to shared libraries in their binary form, they have only one specific entry point (namely, mexFun...

15 years ago | 0

Answered
MATLAB crashes with C++ Class used in mex-file
The section "Memory Considerations For Class Destructors" recommends not to clear memory that is managed by MATLAB. In other wor...

15 years ago | 0

| accepted

Answered
Simulink time samples
It is likely that the change of parameter is causing a zero-crossing to occur around t=2, thus forcing the solver to take smalle...

15 years ago | 2

| accepted

Answered
Can I generate PLC code from an S-function using PLC Coder?
The "Support noninlined S-functions" option only appears for ERT-based targets - since PLC Coder is not an ERT-based target, thi...

15 years ago | 0

Answered
build a output.dimension since inputport.data
As long as the number of dimensions of your output do not change, and you are able to determine the largest size for each dimens...

15 years ago | 0

| accepted

Answered
"From Workspace" time delay
I am not sure if the From/To Workspace blocks lock down the workspace variable at any point during the simulation, but passing d...

15 years ago | 0

Answered
S-function or embedded MATLAB function
In terms of performance, I don't believe that there is a significant difference between Embedded MATLAB Function and C/C++ S-fun...

15 years ago | 5

| accepted

Answered
How to send data to a block continuously, like through clock block in simulink.
The <http://www.mathworks.com/help/toolbox/simulink/slref/fromworkspace.html 'From Workspace'> block is specifically designed to...

15 years ago | 2