답변 있음
Connecting simElectronic blocks -- get red dotted line
See this previous answer: http://www.mathworks.com/matlabcentral/answers/7542-link-between-blocks You are making connections ...

거의 15년 전 | 2

답변 있음
s-function and input data
To access the S-function input data, you need to have access to the Simstruct pointer (the S argument in all S-function callback...

거의 15년 전 | 1

| 수락됨

답변 있음
what does Simulink.Blockdiagram.getInitialState do
Simulink.BlockDiagram.getInitialState is a p-coded function, so you cannot look into it. However, the way you are calling it mak...

거의 15년 전 | 0

답변 있음
vhdl/verilog simulink
Provided that you already have HDL simulator software like ModelSim or Incisive installed, you can use <http://www.mathworks.com...

거의 15년 전 | 0

답변 있음
deploying simulink..possible or not?
You need <http://www.mathworks.com/products/simulink-coder/index.html Simulink Coder> to generate standalone C/C++ code from Sim...

거의 15년 전 | 0

답변 있음
How to find number of blocks in a simulink model
See <http://www.mathworks.com/help/toolbox/simulink/slref/sldiagnostics.html sldiagnostics>

거의 15년 전 | 2

| 수락됨

답변 있음
Delaying an enumerated signal
What have you entered as the Initial Conditions value on the block? If it is the default of '0', you need to change that to an e...

거의 15년 전 | 4

| 수락됨

답변 있음
How to interface simulink model file after converting in to exe file
Did you use MATLAB Compiler to generate an EXE for your MATLAB code? MATLAB Compiler does not support Simulink functionality. Wh...

거의 15년 전 | 1

| 수락됨

답변 있음
matlab coder--error while converting .m file.
You need to define your MATLAB code as a function (it appears what you have now is a script). See <http://www.mathworks.com/help...

거의 15년 전 | 0

| 수락됨

답변 있음
How to speed up the simulation?
Regarding the second question, you only need to load your model using load_system - this will load it into memory, but not open ...

거의 15년 전 | 0

| 수락됨

답변 있음
Compiler properties for building MEX-files
Perhaps you should build your code in the Visual Studio IDE directly. See <http://www.mathworks.com/help/techdoc/matlab_external...

거의 15년 전 | 1

답변 있음
How to compile model and generate code using simulink coder through C# .Net application?
How are you interfacing with MATLAB from your .NET application? Are you invoking <http://www.mathworks.com/help/techdoc/matlab_e...

거의 15년 전 | 1

답변 있음
Invalid MEX file...cannot dynamically load executable OR -shared option in MEX causes "bad values" in compiling and linking
What library are you attempting to load dynamically? Is it radsrc.a? The .a extension suggests that this is an archive, not a sh...

거의 15년 전 | 2

| 수락됨

답변 있음
FI data type NOT operator?
You can use BITCMP: tst = fi(5, numerictype(0,4,0)) tst_not = bitcmp(tst)

거의 15년 전 | 1

답변 있음
Random Integer with "smooth transition" in Simulink
You may find the <http://www.mathworks.com/help/toolbox/simulink/slref/ratelimiter.html Rate Limiter> block useful.

거의 15년 전 | 2

답변 있음
How to change the path when using VBA macro to run .m file
You need: Call MatLab.Execute("cd 'C:\Documents and Settings\M02043\Desktop\Test'") The CD command doesn't like spaces ...

거의 15년 전 | 1

답변 있음
Animated Vectors Plot with data coming from Simulink (WITH EXPLAINING IMAGES)
The webpage that you pointed to uses Adobe Flash to achieve with the animation - I don't know of a way to generate Adobe Flash f...

거의 15년 전 | 1

| 수락됨

답변 있음
Passing DataTypes from MatLab to C#
See <http://www.mathworks.com/help/techdoc/matlab_external/brxe1ww-1.html Using Arrays with .NET Applications>

거의 15년 전 | 1

답변 있음
Deploytool C++ shared library
See <http://www.mathworks.com/help/toolbox/compiler/f2-995712.html#f2-1009231 C++ Shared Library Example>

거의 15년 전 | 0

답변 있음
value that increase along with changing value by manual switch block simulink using embedded matlab function
FWIW, here's an EML implementation: function y = mycounter(u) %#eml persistent count; persistent prevInput; ...

거의 15년 전 | 1

답변 있음
Simulink Fixed Step Size Discrete Compiler - two different step sizes in .cpp file?
You probably have blocks in your model that have a sample time of 1s (blocks in a model with a fixed-step solver can have a samp...

거의 15년 전 | 1

| 수락됨

답변 있음
Code Gen with Embedded coder
You could simply write a TLC script for the S-function (see <http://www.mathworks.com/help/toolbox/rtw/tlc/f33688.html Inlining ...

거의 15년 전 | 0

| 수락됨

답변 있음
Problem using Embedded MATLAB Fcn Block in Simulink?
Provided that the From Workspace block is producing a 1x2 signal of the form [time value], you can use the Demux block to separa...

거의 15년 전 | 0

| 수락됨

답변 있음
Where is the description of the content of a Simulink MDL file?
I'm not sure where that documentation is. Perhaps it has been removed from later releases because it got difficult to maintain? ...

거의 15년 전 | 0

답변 있음
Taget function library error.
Is it the same error as <http://www.mathworks.com/support/solutions/en/data/1-CQA00S/index.html?product=ML&solution=1-CQA00S thi...

거의 15년 전 | 0

| 수락됨

답변 있음
modify the pulse width of a pulse generator
Ah! This is the old question <http://blogs.mathworks.com/seth/2011/03/08/how-do-i-change-a-block-parameter-based-on-the-output-o...

거의 15년 전 | 0

답변 있음
Retrieving Parameter Names for custom checks in Simulink Model Advisory
Select a Rate Transition block and run the following in the command window: get_param(gcb, 'DialogParameters') ans = ...

거의 15년 전 | 1

답변 있음
Changing Tunable parameters from inside the model
See <http://blogs.mathworks.com/seth/2011/03/08/how-do-i-change-a-block-parameter-based-on-the-output-of-another-block/ How Do I...

거의 15년 전 | 0

답변 있음
Hold True Value for finite length of time
An important thing to keep in mind when modeling in Simulink is that blocks run according to their sample time (see <http://blog...

거의 15년 전 | 0

답변 있음
Loading a DLL in MATLAB through JAVA
As the error suggests: Undefined function or variable 'epanet2_proto' You need to add the prototype file epanet2_proto.m...

거의 15년 전 | 1

더 보기