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

más de 14 años hace | 0

Respondida
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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

| aceptada

Respondida
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://...

más de 14 años hace | 0

| aceptada

Respondida
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(...

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Cargar más