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

etwa 14 Jahre vor | 0

Beantwortet
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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 1

| akzeptiert

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 1

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

| akzeptiert

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

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

etwa 14 Jahre vor | 0

Mehr laden