답변 있음
how to create equation from continuous state of s-function results
If you need to run your S-function in continuous-time, you should denote dl and dk as continuous states, and return their values...

대략 14년 전 | 0

답변 있음
integration using s-functions in simulink
<http://www.mathworks.com/help/toolbox/simulink/slref/simulink.msfcnruntimeblock.html#f29-117803 block.DialogPrmsTunable> must b...

대략 14년 전 | 0

답변 있음
Switch "smoothly" between two signals without introducing discontinuities?
You can insert a <http://www.mathworks.com/help/toolbox/simulink/slref/ratelimiter.html Rate Limiter> block following the Switch...

대략 14년 전 | 0

답변 있음
Block Simulation TIme
You could try the <http://www.mathworks.com/help/toolbox/simulink/ug/f0-7640.html Simulink Profiler>.

대략 14년 전 | 0

| 수락됨

답변 있음
call function from share dll using .net
Yes, if you used MATLAB Compiler to generate the shared library, you can call into it from a machine that has only MATLAB Compil...

대략 14년 전 | 0

답변 있음
well,i need to develop a motion control card driver in simulink,could you tell me what should do?
There is a tool called the Legacy Code Tool that can generate the S-function for your automatically. See <http://www.mathworks.c...

대략 14년 전 | 1

답변 있음
s function integration
In your S-function file, you probably have a line that reads like this: block.NumDialogPrms = 3; This means that the bl...

대략 14년 전 | 0

답변 있음
Accessing a dll from outside of Matlab, using visual studio and c++
What you're asking is not really a MATLAB/Simulink-related question (although I understand that you need to do this to be able t...

대략 14년 전 | 0

| 수락됨

답변 있음
Can you unbuffer a matrix in Simulink without incurring a timestamp on the output?
Try using the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/reshape.html Reshape> block to convert your ...

대략 14년 전 | 0

| 수락됨

답변 있음
Top-level approach to Simulink parameter study
The <http://www.mathworks.com/products/systemtest/ SystemTest> product seems exactly what you need. Check out some <http://www.m...

대략 14년 전 | 1

| 수락됨

답변 있음
Re Database Toolbox: "Arithmetic overflow error converting numeric to data type numeric"
I don't know anything about SQL, but doesn't decimal(18,18) mean that you can have zero digits before the decimal point, and 18 ...

대략 14년 전 | 0

답변 있음
Two Step functions in Different Times , or reset a subsystem block
Perhaps your control signal to the Enabled Subsystem enables it immediately? Make sure that the control signal is enabled only a...

대략 14년 전 | 0

답변 있음
How to stop a function? Simulink.
I think you need to out your M-file inside an <http://www.mathworks.com/help/toolbox/simulink/ug/f4-84107.html Enabled Subsystem...

대략 14년 전 | 0

답변 있음
s-function to perform integration & differentiation
Are you writing MATLAB-file S-functions? If so, I would recommend looking at examples by opening up: >> sfundemos And ...

대략 14년 전 | 1

답변 있음
Create the matlab 2006b exe for .net application
You can use <http://www.mathworks.com/products/netbuilder/ MATLAB Builder NE> to generate .NET components from MATLAB code (you ...

대략 14년 전 | 0

답변 있음
Simulink - swapping inputs horizontally
Did you mean the <http://www.mathworks.com/help/releases/R2011b/toolbox/dsp/ref/flip.html Flip> block from the DSP Toolbox? If y...

대략 14년 전 | 0

답변 있음
UNIX bash shell in an m file?
Yes, I think that is exactly how you would do it. Are you running into any trouble doing that?

대략 14년 전 | 0

답변 있음
Making cpp code from Mfile.
You need to link against liba.lib, and add the directory containing liba.dll to the system PATH. See <http://www.mathworks.com/h...

대략 14년 전 | 0

| 수락됨

답변 있음
Create DLL's for Embedded Matlab Function
If you have an Embedded Coder license, you can use ert_shrlib.tlc to generate a DLL from your Simulink model. See <http://www.ma...

대략 14년 전 | 0

답변 있음
Regarding RTW
The command to generate code from a model is rtwbuild(model), not make_rtw(model).

대략 14년 전 | 1

| 수락됨

답변 있음
using .m file in simulink model
To call MATLAB code from a Simulink model, use one of the three <http://www.mathworks.com/help/toolbox/simulink/ug/bq3qblc-1.htm...

대략 14년 전 | 1

답변 있음
Simulink: setting different random number generator seeds even when using past SimState
AFAIK, only tunable parameters can be changed in a simulation restored from a previously stored SimState. From what I can see, t...

대략 14년 전 | 0

| 수락됨

답변 있음
xpc parameter passing and recording
# See the xPC documentation on <http://www.mathworks.com/help/releases/R2011b/toolbox/xpc/ug/f6-31896.html Parameter Tuning> to ...

대략 14년 전 | 1

| 수락됨

답변 있음
Combine Two Signals Simulink
One way that you could achieve what you need is to delay your modulated data using the <http://www.mathworks.com/help/toolbox/si...

대략 14년 전 | 0

| 수락됨

답변 있음
Using C++ shared library created by R2011b with Visual Studio 2010
Are you using 64-bit MATLAB? If yes, you may need to configure your Visual Studio project for an x64 target (by default, Visual ...

대략 14년 전 | 0

답변 있음
Matlab (2011b) compiler doesn't compile
A previous user posted about a similar error here: http://www.mathworks.com/matlabcentral/answers/27493-building-standalone-appl...

대략 14년 전 | 0

답변 있음
maximum block
Try the <http://www.mathworks.com/help/toolbox/simulink/slref/minmax.html MinMax> block.

대략 14년 전 | 0

답변 있음
How to Use Microsoft Access ODBC drivers for Vista x64/ Windows 7 x64
Do you have 32-bit Access installed? In that case you need to install <http://www.mathworks.com/support/solutions/en/data/1-579T...

대략 14년 전 | 0

| 수락됨

답변 있음
Specifying discrete sample time for variable-size signals
As TAB indicates in his/her comment, it is likely that the input signal has a continuous sample time. The Assignment block inher...

대략 14년 전 | 0

답변 있음
custom built transfer function block in simulink
The "s" is a derivative term, so why not just use the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/deri...

대략 14년 전 | 0

더 보기