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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 2

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 3

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 3

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 2

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 0

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

mehr als 14 Jahre vor | 1

Mehr laden