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

quasi 14 anni fa | 0

Risposto
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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

Carica altro