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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 2

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

| accettato

Risposto
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)]; ...

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 2

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

Carica altro