Respondida
Encountered a error when using RTW to creat .dll from simulink model
This seems to be a third-party product, and your command window output doesn't show any indication of the error (you might want ...

más de 14 años hace | 0

Respondida
delay a continous signal
You can use the <http://www.mathworks.com/help/toolbox/simulink/slref/variabletimedelay.html Variable Time/Transport Delay> bloc...

más de 14 años hace | 2

Respondida
Unexplained error while building DLL
That's strange. Is there a _model_.c file generated? The _model_ _step function should be generated into it? Also, could you ...

más de 14 años hace | 0

Respondida
how to decide the order of initialization?
AFAIK, the initialization order is the same as the execution order (or "Sorted Order"), which in turn is determined by your data...

más de 14 años hace | 2

| aceptada

Respondida
Cant transpose data in workspace to use it in a scope (Simulink)
You need to organize your data as described in the documentation for the <http://www.mathworks.com/help/toolbox/simulink/slref/f...

más de 14 años hace | 0

Respondida
Change/reset initial state values in a level 2 C-mex S-function
You can either follow Ryan's suggestion or put your S-function inside an enabled subsystem with "Output when disabled" set to "r...

más de 14 años hace | 0

Respondida
How to I output the maximum value of a signal to a display?
I think you should be able to compute the running maximum using the <http://www.mathworks.com/help/releases/R2011b/toolbox/simul...

más de 14 años hace | 1

| aceptada

Respondida
How to find data with specific data type.
I think the safest way to check datatypes used in a model is to compile the model and check the compiled datatypes at the bounda...

más de 14 años hace | 1

Respondida
Effect of using masked subsystem on simulation speed?
AFAIK, the only effect of masks on simulation performance is that at initialization time, block dialog parameters are first eval...

más de 14 años hace | 0

| aceptada

Respondida
syntax to pass x0 values (for fsolve) from constant blocks to interpreted matlab function
You should probably create a wrapper function that has the two lines: function y = callFsolve(u) x0=[u(5),u(6),u(7)]; ...

más de 14 años hace | 0

Respondida
How can i compile a code which load .Net dll
What is the exact that you receive in the compiled application? If it is "This assembly is built by a runtime newer than the cur...

más de 14 años hace | 1

| aceptada

Respondida
Initialising variables in an embedded function
Why not use a local variable as the persistent variable instead? function output = fcn(Ti,aw,aa,L,Tstep,Tamb,Tcline,Tprev) ...

más de 14 años hace | 0

| aceptada

Respondida
Run a simulink model for a certain amount of time and pause
The easiest way to do this is to configure the <http://www.mathworks.com/help/simulink/ug/controlling-execution-of-a-simulation....

más de 14 años hace | 2

Respondida
simulink and gui sfunction
This documentation page might be helpful: <http://www.mathworks.com/help/toolbox/simulink/ug/f13-92122.html Accessing Block Data...

más de 14 años hace | 0

Respondida
invalid mex - libmysqlcppconn not finding glibcxx_3.4.15
I don't understand library dependency resolution completely, but I wonder if libmysqlcppconn.so.5 could be looking at a differen...

más de 14 años hace | 0

Respondida
Using mcc to compile code which calls mex files
The error says "sh: gams: command not found" - so it seems like the "outside" program is not on the System path?

más de 14 años hace | 0

Respondida
Implementing a Simulink model in an executable file
It is currently not possible to generate standalone code for Simulink models using a variable-step solver, because this solver u...

más de 14 años hace | 2

| aceptada

Respondida
Verifying CCS 3.3
Please see http://www-europe.mathworks.com/matlabcentral/answers/40691

más de 14 años hace | 0

| aceptada

Respondida
Accessing M-file S-Function parameters inside TLC file
Do you call "block.AutoRegRuntimePrms({'P1','P2'});" in DoPostPropSetup? If you call block.AutoRegRuntimePrms without the parame...

más de 14 años hace | 0

| aceptada

Respondida
Is there an example Freescale S12X target for Simulink Coder and Embedded Coder (R2012a) using the CodeWarrior Compiler?
Perhaps as the solution suggests, you should either write to mytarget@mathworks.com or contact <http://www.mathworks.c...

más de 14 años hace | 0

Respondida
Model Reference and shared data types
Do you have <http://www.mathworks.com/help/toolbox/ecoder/ref/bq26g2z-1.html#bq26g9p-1 Data declaration> on the Code Generation>...

más de 14 años hace | 1

| aceptada

Respondida
disable "Excel COM server"
Do you mean when using the XLSREAD command? Use the <http://www.mathworks.com/help/techdoc/ref/xlsread.html "[num,txt,raw] = xls...

más de 14 años hace | 0

| aceptada

Respondida
Replace a subsystem A with subsytem B on different models
Does 'oldSub' exist in the top-level of the model or inside a subsystem? For example, does the following command return any valu...

más de 14 años hace | 0

| aceptada

Respondida
How I can call VB macros in matlab?
I'm not a Visual Basic programmer, but I think this might be possible only if you can expose your Visual Basic code as a COM ser...

más de 14 años hace | 0

Respondida
How to run mutliple instances of Simulink blocks at the same time without naming errors?
It's not clear how/if you want the multiple instances to be resolved, but if each Goto (and the corresponding From blocks) is in...

más de 14 años hace | 1

| aceptada

Respondida
Standalone EXE execute matlab-code online without Matlab installed on the client?
The only way to deploy MATLAB code on a machine without a MATLAB installation is to use <http://www.mathworks.com/products/compi...

más de 14 años hace | 0

Respondida
Building a mwArray Structure from C++
Does this work: const char* data_fieldnames[] = { "one", "two", "string", "subtest" }; const char* sub_fieldnames[...

más de 14 años hace | 0

Respondida
Interpolate from slower sample rate to faster sample rate in Simulink?
The <http://www.mathworks.com/help/toolbox/dsp/ref/firinterpolation.html FIR Interpolation> block from the DSP System Toolbox mi...

más de 14 años hace | 0

Respondida
Custom DWork datatype in TLC generated code via Level 2 M-file S-function or TLC
It doesn't look like MATLAB S-functions support defining custom datatypes within the S-function - see <http://www.mathworks.com/...

más de 14 años hace | 0

Respondida
embedded matlab function error with MFCC features
You need to pre-declare 'y' to the expected output type of your function. See <http://www.mathworks.com/help/toolbox/eml/ug/bq1h...

más de 14 años hace | 0

| aceptada

Cargar más