Respondida
How to use mxArray
See <http://www.mathworks.com/support/tech-notes/1600/1605.html#MSVC++ Section 6: Compiling MEX-files with Microsoft Visual Stud...

más de 14 años hace | 0

Respondida
C mex s-function caused Segmentation violation to matlan crash
I would recommend <http://www.mathworks.com/help/toolbox/simulink/sfg/bq2rjeu-1.html debugging your S-function> to find the exac...

más de 14 años hace | 0

Respondida
Why can't find_system find IC block?
The IC block's BlockType is 'InitialCondition', so you should be using find_system(bdroot, 'BlockType', 'InitialCondition'). I w...

más de 14 años hace | 1

| aceptada

Respondida
question about applying parallel computing to RTW
From what I know, the code-generation/build process itself leverages Parallel Computing Toolbox functionality: http://blogs.math...

más de 14 años hace | 0

Respondida
Using structures as input of the model with parallel computing
I wonder if you could assign the Simulink.Bus object in the base workspace in the parfor loop, as discussed here: http://blogs.m...

más de 14 años hace | 0

| aceptada

Respondida
Simlink and Solidworks
<http://support.microsoft.com/kb/827659 This page> suggests that admin privileges are needed when running DllRegisterServer. If ...

más de 14 años hace | 0

Respondida
How can I check if a mask parameter exists?
Try: dp = get_param(gcb, 'DialogParameters'); isfield(dp, 'Value')

más de 14 años hace | 2

Respondida
Inductor, Resistor and Capacitor
You are probably attempting to connect a Simulink signal to a physical signal, or vice versa. These are signals in two different...

más de 14 años hace | 1

Respondida
S-function for reading com-port
If following Walter's suggestion, you will need: persistent NMEA; if isempty(NMEA) %true only the first time NMEA =...

más de 14 años hace | 1

Respondida
MATLAB error MATLAB error message:
The error message seems pretty clear - your S-function can only have double or char type parameters to be supported for code-gen...

más de 14 años hace | 0

Respondida
build a simulink model
Use the <http://www.mathworks.com/help/toolbox/simulink/slref/fromfile.html From File> block to get the signal from the MAT-file...

más de 14 años hace | 0

Respondida
Create C\C++ DLL from MatLab Compiler 4.6 (R2007a)
You mean that you want to call the MATLAB Compiler generated DLL from another DLL right? I don't have any experience with this, ...

más de 14 años hace | 0

Respondida
Error when Trying to use Listner Blocks
Try changing: set_param('manualflight','StartFcn',localAddEventListener); To: set_param('manualflight','St...

más de 14 años hace | 3

| aceptada

Respondida
simulink backlash function
The Backlash block doesn't allow that. I think you'll need to implement your own <http://www.mathworks.com/help/toolbox/simulink...

más de 14 años hace | 1

Respondida
code generation for simulink models
Yes, it should be possible in R2007a, if you have Target Support Package TC6 installed. In recent versions, that toolbox has bee...

más de 14 años hace | 0

| aceptada

Respondida
Creating a Windows DLL from a Simulink Diagram
grt.tlc generates an executable. If you need a library, ert_shrlib.tlc is more appropriate (assuming you have an Embedded Coder ...

más de 14 años hace | 1

Respondida
Read .mat file in android?
You can write C code using the MAT-file libraries to read MAT-files outside of MATLAB - see <http://www.mathworks.com/help/techd...

más de 14 años hace | 3

Respondida
Real-Time Workshop Target with NI DAQ devices
I don't see your device from here: http://www.mathworks.com/products/rtwt/RTWIN_Target_Interactive_Guide.html So I don't thin...

más de 14 años hace | 0

Respondida
Import data from workspace to mfile
When you say "formula", how is it implemented? You should simply have "x" as one of the input signals to the block that implemen...

más de 14 años hace | 0

Respondida
Image acquisition in external mode
It looks like the block used host-based (Windows) libraries, that are not supported on any other embedded targets. <http://www.m...

más de 14 años hace | 1

| aceptada

Respondida
mexFunction return valur error after doing clear all
Could you replace "clear all" with "clear mex" and see if have similar behavior? That is, having "clear mex" causes issues, but ...

más de 14 años hace | 0

| aceptada

Respondida
Rapid Accelerator Simulation
You can only change <http://www.mathworks.com/help/toolbox/simulink/ug/f13-87137.html tunable parameters> after the rapid accele...

más de 14 años hace | 1

| aceptada

Respondida
Simulink BLock into Matlab M-file
It is not possible to call Simulink blocks from a MATLAB-file, but you can call a MATLAB-function from a Simulink model using th...

más de 14 años hace | 1

Respondida
Simulink standalone executable
I don't think the RSIM target is meant to be deployed onto machines that do not have MATLAB/Simulink installed. AFAIK, tt is mea...

más de 14 años hace | 1

| aceptada

Respondida
.m file to .exe file by >mcc
As the error points out, the PREVIEW function is not support for deployment. You cannot generate an executable from MATLAB code ...

más de 14 años hace | 1

Respondida
arduino IO package simulink
There was similar question answered here before: http://www.mathworks.ch/matlabcentral/answers/31595-connecting-to-arduino-timeo...

más de 14 años hace | 0

Respondida
How to correct my s function code ?please help
It looks like this line may not be returning a vector with 3 elements (because you have configured the S-function for 3 outputs)...

más de 14 años hace | 2

Respondida
Masking and base workspace
Not sure if I understand your question correctly, but try this in your Mask Initialization: a = uwb.channel.a; b = ...

más de 14 años hace | 0

Respondida
TI's C6670 and MATLAB support
It doesn't look like the latest version supports C6670: http://www.mathworks.com/products/embedded-coder/ti-adaptor.html So I...

más de 14 años hace | 0

Respondida
Final constant from simulink to GUI
You can use get_param only to get block parameter values, not their output values (which are computed at every time-step). If yo...

más de 14 años hace | 1

Cargar más