답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 1

| 수락됨

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 0

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

대략 14년 전 | 2

답변 있음
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...

대략 14년 전 | 1

답변 있음
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 =...

대략 14년 전 | 1

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

답변 있음
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, ...

대략 14년 전 | 0

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

대략 14년 전 | 3

| 수락됨

답변 있음
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...

대략 14년 전 | 1

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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 ...

대략 14년 전 | 1

답변 있음
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...

대략 14년 전 | 3

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 1

| 수락됨

답변 있음
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 ...

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 1

| 수락됨

답변 있음
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...

대략 14년 전 | 1

답변 있음
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...

대략 14년 전 | 1

| 수락됨

답변 있음
.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 ...

대략 14년 전 | 1

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

대략 14년 전 | 0

답변 있음
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)...

대략 14년 전 | 2

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

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 0

답변 있음
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...

대략 14년 전 | 1

더 보기