回答済み
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 ...

14年弱 前 | 0

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

14年弱 前 | 2

回答済み
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 ...

約14年 前 | 0

回答済み
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...

約14年 前 | 2

| 採用済み

回答済み
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...

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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...

約14年 前 | 1

| 採用済み

回答済み
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...

約14年 前 | 1

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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)]; ...

約14年 前 | 0

回答済み
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...

約14年 前 | 1

| 採用済み

回答済み
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) ...

約14年 前 | 0

| 採用済み

回答済み
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....

約14年 前 | 2

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

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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?

約14年 前 | 0

回答済み
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...

約14年 前 | 2

| 採用済み

回答済み
Verifying CCS 3.3
Please see http://www-europe.mathworks.com/matlabcentral/answers/40691

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

回答済み
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>...

約14年 前 | 1

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 0

回答済み
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...

約14年 前 | 1

| 採用済み

回答済み
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...

約14年 前 | 0

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

約14年 前 | 0

回答済み
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...

約14年 前 | 0

回答済み
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/...

約14年 前 | 0

回答済み
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...

約14年 前 | 0

| 採用済み

さらに読み込む