답변 있음
Include a printf in compiled simulink blocks
Which blocks do these signals correspond to? If they are S-function blocks that you have written, you can put the printf command...

대략 14년 전 | 0

답변 있음
cannot open shared object file Simulink Student Version 2012a
See if this previous discussion helps: http://www.mathworks.fr/matlabcentral/answers/33507-simulink-and-linux

대략 14년 전 | 0

| 수락됨

답변 있음
integer parameters to C MEX s function
I think you need to use mxGetData(ssGetSFcnParam(S,0)) instead and cast the returned void-pointer to an int pointer. You probabl...

대략 14년 전 | 0

| 수락됨

답변 있음
Fixed-step solvers, model referencing and Normal and Accelerator mode
Ubaldo: I already answered the second part of your question <http://www.mathworks.com/matlabcentral/answers/35730-multiple-insta...

대략 14년 전 | 0

답변 있음
Help! The setup xpcsetCC('setup') ) is unable to find any compilers.
How about if you manually set the type and location as was suggested here for R2011a: http://www.mathworks.com/support/bugreport...

대략 14년 전 | 0

답변 있음
Simulink PIL blocks.
Try increasing the "Maximum time allowed to complete IDE operation" on the <http://www.mathworks.com/help/toolbox/rtw/ug/bsvy_48...

대략 14년 전 | 0

답변 있음
Use C++ to initialise matlab and run an m-file
Is MATLAB somehow accessible on the computer with X-Plane? If yes, you can use one of several <http://www.mathworks.com/help/tec...

대략 14년 전 | 0

답변 있음
C++ Objects Persistent
I don't think the S-Function Builder can deal with PWork vectors. You might need to either introduce the PWork vector manually, ...

대략 14년 전 | 0

답변 있음
Communication between Matlab and National Instrument card
Looks like your header (nidaqmx.h) may be declaring methods that LOADLIBRARY cannot find in the DLL? What do you get in 'warning...

대략 14년 전 | 1

| 수락됨

답변 있음
Load Variable for Use in Simulink MATLAB Function Block
It looks like you are using 'a' like a parameter. Why not declare it as one, so that the value is automatically picked up from t...

대략 14년 전 | 1

답변 있음
Tunable Parameter/Gain and rapid acceleration
But you never pass the modified parameter into SIM right? Simulink.BlockDiagram.modifyTunableParameters creates a new RTP struct...

대략 14년 전 | 0

| 수락됨

답변 있음
Why does Simulink generate an error at build time for TMS320C6713 board?
It looks like you are either using an unsupported version of CCS, or have not configured it correctly. See if your version of MA...

대략 14년 전 | 0

답변 있음
ssPrintf for C-Mex S-Function
When the S-function is compiled as a MEX-function, the symbol MATLAB_MEX_FILE is always defined, so that line is effectively get...

대략 14년 전 | 0

답변 있음
Loading Files into Codegen Files
I think using coder.ceval is the right way to do this. Also, coder.ceval can return arrays/matrices. You just need to pre-alloca...

대략 14년 전 | 0

| 수락됨

답변 있음
regarding matlab file conversion
See this previous discussion: http://www.mathworks.com/matlabcentral/answers/9865-dll-creation-to-use-in-labview

대략 14년 전 | 1

답변 있음
While compiling my program in MATLAB 2012a to create windows standalone application.I am getting errors.
Seems similar to this previous question: http://www.mathworks.com/matlabcentral/answers/27493-building-standalone-application-fa...

대략 14년 전 | 0

| 수락됨

답변 있음
Get the names of the outputs of a Signal Builder by using the command window
Is this what you're looking for: >> [~, ~, signalNames] = signalbuilder('path/to/sigbuilder/block') [Reference: http://...

대략 14년 전 | 0

| 수락됨

답변 있음
Assign/access bus data using variable index (Simulink)
Not sure if I've understood your question correctly, but I think what you'd like to do is done in MATLAB using: y = struct(...

대략 14년 전 | 0

답변 있음
Simulink PIL blocks.
I highly doubt that multiple PIL blocks are supported in one model. I would recommend confirming this with MathWorks Tech Suppor...

대략 14년 전 | 0

| 수락됨

답변 있음
How do you program the Arduino in Simulink so you can read the sensors via I2C and SPI?
If you know how to do this in C using Arduino libraries, you can generate a custom S-function block, using the <http://www.mathw...

대략 14년 전 | 0

답변 있음
using WEBCAM in simulink EXTERNAL MODE
If you are using the From Video Device block, you might find this discussion useful: http://www.mathworks.com/matlabcentral/answ...

대략 14년 전 | 0

답변 있음
Real-time linearization in Simulink for nonlinear MISO system
If you have two inputs and one output, I'm not sure how you can get two distinct transfer functions for the same output. Is it p...

대략 14년 전 | 0

답변 있음
Does the Matlab2010a compiled C mex files run on Matlab2008a always ?
I think the only deterministic way of verifying if a MEX-file compiled in newer versions will work in older versions might be to...

대략 14년 전 | 0

답변 있음
Constant Ramp
The block does exist in R2010b as well and was part of the Signal Processing Blockset (which has since been repackaged into the ...

대략 14년 전 | 0

| 수락됨

답변 있음
Multiple instances of referenced models in Normal mode
You can still simulate your top-level model "VehicleDynamics" in Normal mode, however, just the model reference blocks that poin...

대략 14년 전 | 0

| 수락됨

답변 있음
Programatically test-run a model before RTW build
Perhaps you can tell us exactly what error your model runs into that reproduces this behavior with the model appearing to be "pa...

대략 14년 전 | 0

답변 있음
Automating Signal Storage Class in M script
If you already have a Simulink.Signal object associated with the relevant signal line, then you can use code similar to what Tit...

대략 14년 전 | 0

| 수락됨

답변 있음
Arduino embedded coder
Is this a package that you got from File Exchange? It seems like there is some issue with installation. Make sure that files lik...

대략 14년 전 | 0

답변 있음
codegen:- Problems when attempting to build a c++ based .exe rather than c?
You probably need to add a extern "C" { } block around the declaration for coderand() in coderand.h, so that the C++ compiler do...

대략 14년 전 | 0

답변 있음
Email Using Matlab
See <http://www.mathworks.com/help/releases/R2011b/techdoc/import_export/f5-136211.html Sending Email>.

대략 14년 전 | 0

더 보기