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

さらに読み込む