Réponse apportée
Writing a script to compile using mcc
It looks like you already know how to call "mcc" and your system utility "acp" from a MATLAB script - your question as far as I ...

plus de 13 ans il y a | 0

Réponse apportée
variable discrete vector generation in Simulink
Mojtaba: Do x1 and x2 change during simulation? If not, try defining them as workspace variables. * Constant block: Enter [x1...

plus de 13 ans il y a | 0

Réponse apportée
Including mat.h and using in a C++ program
You need to use the <http://www.mathworks.com/help/matlab/matlab_external/compiling-and-linking-mat-file-programs.html Options F...

plus de 13 ans il y a | 1

Réponse apportée
How can I let Simulink code generation support multi-dimensions Array?
Simulink supports multi-dimension signals, but to the best of my knowledge, Simulink Coder flattens them out in the generated C ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Integer delay block incompatibility
The recommended way is to use "Save As..." to save your model to the version that your colleagues use - the Delay blocks should ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Arduino Run on Target Hardware + Stateflow
Does "Run on target" work on a model without any Stateflow blocks? If yes, it appears that to be able to use Stateflow with "Run...

plus de 13 ans il y a | 0

Réponse apportée
Measure compile time and run time separately in Simulink
Try using the <http://www.mathworks.com/help/toolbox/simulink/ug/f0-7640.html Simulink Profiler> - I think the stage correspondi...

plus de 13 ans il y a | 1

Réponse apportée
Compute the integral of a signal from Simulink into Matlab
Perhaps you need <http://www.mathworks.com/help/techdoc/ref/trapz.html trapz> or <http://www.mathworks.com/help/techdoc/ref/cumt...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Error in uploading via Arduino Target,,!!
As the error suggests, code generation from Simulink models is only supported for fixed-step solvers (you are using a variable-s...

plus de 13 ans il y a | 0

Réponse apportée
How can I get a single frame from a simulink live video input?
I think you can put the "From Video Device" block inside a <http://www.mathworks.com/help/toolbox/simulink/ug/f4-84283.html Trig...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Code Generation from Simulink and S-function creation for C-code validation
You should simply need to create a <http://www.mathworks.com/help/toolbox/simulink/ug/f4-53172.html subsystem> from your block (...

plus de 13 ans il y a | 0

Réponse apportée
Can i able to access value from Data store memory in Embedded Matlab Function
Have you configured the block <http://www.mathworks.com/help/toolbox/simulink/ug/bsds2rv.html according to the documentation>? P...

plus de 13 ans il y a | 0

Réponse apportée
My company is upgrading from Matlab and Simulink R2007a to R2010b on Windows XP.
I don't see any Ada compilers in the official MEX compilers list for R2007a: http://www.mathworks.com/support/compilers/1601_74....

plus de 13 ans il y a | 1

Réponse apportée
C shared library call error
Is your Visual Studio configured to compile a 32-bit executable perhaps? This won't work because the compiled shared library is ...

plus de 13 ans il y a | 0

Réponse apportée
.mdl to .dll
My guess is that the "create VC/C++ solution file for the grt target" option causes Microsoft Visual Studio to be invoked via it...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
how to combine signals with same sample time and different frame size
What about if you set the Sine Wave Block to have a sample-time of 1e-7/8 and the Random Source Block to 1e-7/4088?

plus de 13 ans il y a | 0

Réponse apportée
Problem converting Matlab code to C standalone executable using Matlab Coder
I think you will find <http://www.mathworks.com/products/matlab-coder/examples.html?file=/products/demos/shipping/coder/coderdem...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Simulink: Generate s-Function - Parameterize?
I haven't personally done this before, but based on <http://www.mathworks.com/support/solutions/en/data/1-8UJWWO/index.html?prod...

plus de 13 ans il y a | 1

Réponse apportée
ForEach Subsystem with Parameter Sets
Markus: Could you mention which blocks you are using inside the For Each Subsystem that don't allow you to convert your paramete...

plus de 13 ans il y a | 0

Réponse apportée
Data acqusition with embedded matlab function. Some functions don't work.
The (Embedded) MATLAB Function Block automatically generates C code from your MATLAB code for accelerated execution, hence only ...

plus de 13 ans il y a | 0

Réponse apportée
sample time in c-mex function
Do you have a feedback loop in your model? This technical solution may help you understand the problem: <http://www.mathworks.co...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
C-MEX S-Function Simulink Crash
Perhaps your C code is causing some memory corruption? You could try <http://www.mathworks.com/help/toolbox/simulink/sfg/bq2rjeu...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Simulink on Linux how to get status bar to see simulation progress?
Please see this previously answered question: http://www.mathworks.com/matlabcentral/answers/41295

plus de 13 ans il y a | 0

Réponse apportée
S-function sampling time, is it possible to use several sampling time ?
I don't have much experience with multi-rate S-functions, but I thought I would recommend that you look at the demo sfcndemo_sfu...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Simulink table port dimensions error
From the error, it appears that Simulink is unable to determine the dimensions of the 'xdat' and 'ydat' inputs to the Lookup Tab...

plus de 13 ans il y a | 0

Réponse apportée
How to create a "redundant" function with a C-MEX S-function ?
It's really hard for us to help with your code because you have library calls like RTLIB_TIC_READ() and ds1104_slave_dsp_pwm_XXX...

plus de 13 ans il y a | 0

Réponse apportée
Accessing S function parameters through m scripts
I don't know of a published command-line API for the S-function Builder, but you might be able to play around some, based on the...

plus de 13 ans il y a | 0

Réponse apportée
How can I connect a Thin client PC to the matlab simulink to check his perameters?
There are several techniques available to <http://www.mathworks.com/help/techdoc/matlab_external/bp_kqh7.html interface MATLAB w...

plus de 13 ans il y a | 0

Réponse apportée
How do my matlab r2009b convert matlab codes to c?
You will need to get the <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder> product. Please see the "Videos & Exampl...

plus de 13 ans il y a | 0

Réponse apportée
how to convert matlab coding to vhdl coding for image data
You should be able to use the <http://www.mathworks.com/products/hdl-coder/ HDL Coder> product to generate HDL code from MATLAB ...

plus de 13 ans il y a | 1

Charger plus