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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 2

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

Risposto
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, ...

quasi 14 anni fa | 0

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

quasi 14 anni fa | 3

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 3

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

Risposto
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)...

quasi 14 anni fa | 2

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

Carica altro