Respondida
Matlab has encountered an internal problem and needs to close
Did you modify the S-function? If yes, it is likely that your code is causing a segmentation violation causing MATLAB to shut do...

más de 15 años hace | 0

| aceptada

Respondida
Problem with code reusabilty of inlined S-Function // multiple referencing
Do you ensure that your S-function also meets all the other <http://www.mathworks.com/help/toolbox/rtw/ug/f76479.html requiremen...

más de 15 años hace | 0

Respondida
undefined variable, passive variable vector
I think you need the <http://www.mathworks.com/products/symbolic/ Symbolic Math Toolbox>.

más de 15 años hace | 1

Respondida
Compiling a C program to read .mat files
As per the <http://www.mathworks.com/help/techdoc/matlab_external/f19027.html documentation> you must compile using the options ...

más de 15 años hace | 1

Respondida
Setting AssemblyVersion in Builder NE generated DLL
I don't believe this functionality currently exists. Please contact Technical Support and submit an enhancement request.

más de 15 años hace | 0

Respondida
Edit msfcndemo_limintm.mdl for definite integral respect to any function not equal to time
Block derivatives in Simulink are computed w.r.t time, so it is not possible to utilize the Simulink solver to integrate w.r.t. ...

más de 15 años hace | 0

Respondida
A simulink block function for definite integral
Specifically to address the error: There are several MATLAB functions that are called "int" - you are using the function <http:/...

más de 15 años hace | 0

Respondida
Visualize matlabpool with simulink
I don't know of an existing tool that allows you to do this, but it should be fairly straightforward to write your own MATLAB co...

más de 15 años hace | 0

Respondida
FIR Simulink
This example on <http://www.mathworks.com/help/toolbox/dspblks/gs/f7-5978.html Digital Filters> may be a useful starting point f...

más de 15 años hace | 0

Respondida
how to export signal from matlab environment to working model example for block in simulink
You can use the From Workspace block to read a variable from the base workspace and output it as a signal in your model. Note th...

más de 15 años hace | 0

| aceptada

Respondida
Pass array pointers in C
You should be able to pass in numeric array pointers directly (just like you would with any other C shared library). Look at the...

más de 15 años hace | 0

Respondida
EEG Signal Processing
Real-Time Windows Target and xPC Target are possible options. See <http://www.mathworks.com/support/solutions/en/data/1-AYQQZ5/i...

más de 15 años hace | 0

Respondida
Signal Acquisition
You need to first figure out what interface you will use to connect your hardware to a computer. Once you have done that, you ca...

más de 15 años hace | 0

Respondida
Can Matlab compiled file which asks for bloomberg connection can be running withou data feed toolbox?
You do need to add blpapi.jar to the Java class path. See <http://www.mathworks.com/support/solutions/en/data/1-CYKHGQ/index.htm...

más de 15 años hace | 0

Respondida
From Matlab to Simulink (alternative to Embedded MATLAB Function)
You can use the <http://www.mathworks.com/help/toolbox/simulink/slref/matlabfcn.html MATLAB Fcn> or <http://www.mathworks.com/he...

más de 15 años hace | 2

Respondida
Simulink; Without success while applying the 'Transpartent' option in the 'Edit Mask' functionality
Use the <http://www.mathworks.com/help/toolbox/simulink/slref/port_label.html port_label> function after drawing the image, to o...

más de 15 años hace | 0

| aceptada

Respondida
How to implement a matlab program in FPGA?
You can use <http://www.mathworks.com/help/toolbox/simulink/slref/foriterator.html For Iterator> to implement for loops in Simul...

más de 15 años hace | 0

Respondida
Using emlc to generate C code - function within a function problem
Have you tried specifying constant inputs using emlcoder.egc: http://www.mathworks.com/help/toolbox/eml/ug/bq2wkmb-47.html#brl11...

más de 15 años hace | 0

| aceptada

Respondida
How to represent a volume in Simulink which is divided into 1000 smaller volumes, i.e. discretization in time and space?
If each of the volumes (or a set of volumes) has identical properties, you may want to consider using the <http://www.mathworks....

más de 15 años hace | 1

Respondida
Embedded MATLAB FUnction as elaboration block only
As I described before, you need to pre-allocate 'y' in your code. Since in this case, y is a scalar, you can simply have: f...

más de 15 años hace | 0

Respondida
Passing parameters for C-Mex S-functions returns only Zero(0)
Could you try %f instead of %d? In this case, FLAG is of type double, but you are using a format specifier that is meant for int...

más de 15 años hace | 1

Respondida
How to enable the rapid accelerator for PLECS simulation
In order to run a model in rapid accelerator mode, C code is generated from your model and the compiled binaries are then run. T...

más de 15 años hace | 0

Respondida
S-Functions: ssWriteRTWParamSettings in mdlRTW does not work.
I wonder if the write is failing becausing SSWRITE_VALUE_NUM requires a real_T value, but you are passing in a uint8_T value. Yo...

más de 15 años hace | 0

Respondida
What is the process for building DLL's from Real-time Workshop as 64-bit rather than 32-bit?
The most reliable way is to get 64-bit MATLAB and build your models again - the reason you can't simply compile the code generat...

más de 15 años hace | 0

| aceptada

Respondida
Embedded MATLAB FUnction as elaboration block only
From what I understand, I think the real reason may be because you do not pre-allocate memory for the output. See <http://www.ma...

más de 15 años hace | 0

Respondida
Mex Error: undeclared identifier What does this mean?
This looks like <http://www.mathworks.com/support/bugreports/661855 Bug#661855>. Install the patch to fix the issue.

más de 15 años hace | 0

| aceptada

Respondida
Producing Embedded Controller using RealTime Workshop
Did you make sure that you have transported all files for building on another target? See <http://www.mathworks.com/help/toolbox...

más de 15 años hace | 0

| aceptada

Respondida
Test Harness for a Model
If you are looking for a formalized way to do this, <http://www.mathworks.com/products/systemtest/ SystemTest> is what you're lo...

más de 15 años hace | 0

Respondida
Matrix extension in Simulink Embedded doesn't work, in Workspace does
In versions older than R2010b, you cannot dynamically extend the size of a matrix in Embedded MATLAB. Therefore, you will need t...

más de 15 años hace | 0

| aceptada

Respondida
converting vector<vector<double>> to mwArray
Did you have a typo calling SetData? mwArray mymtrx(2, 2, mxDOUBLE_CLASS); mymtrx.SetData(&myvect[0][0], 4);

más de 15 años hace | 0

Cargar más