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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 2

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 2

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

| akzeptiert

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

fast 14 Jahre vor | 1

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 2

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 2

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

Mehr laden