답변 있음
How can exported code from Simulink be compiled into a DLL using Visual Studio?
Have you exported the required methods from the code? FYI, you may want to use the <http://www.mathworks.com/help/ecoder/ug/crea...

거의 13년 전 | 0

답변 있음
Is it possible to add a C wrapper to a SFunction?
I don't believe it is currently possible to execute S-functions outside of the Simulink environment. the SimStruct data structur...

거의 13년 전 | 0

| 수락됨

답변 있음
I need help using embedded matlab functions for an iterative learning controller
You are using the variable 'z' as a state, but note that the line: z=zeros(1,99999); is executed at every time-step, so...

거의 13년 전 | 0

답변 있음
How do i do moving average in s-function level 2?
It looks like you need to maintain a "state" on the block. Please look into <http://www.mathworks.com/help/simulink/sfg/how-to-u...

거의 13년 전 | 0

답변 있음
when i used embedded matlab function for performng following code i got the error message.Here input 'Edge' from a sobel filter block,output is y
Since 'bwlabel' is declared as an extrinsic function and is unsupported for code-generation, the block is unable to analyze what...

거의 13년 전 | 0

| 수락됨

답변 있음
How to built .m file to ccs without simulink?
Please see #2 in my answer <http://www.mathworks.com/matlabcentral/answers/29644 here>.

거의 13년 전 | 0

답변 있음
Update Diagram (sample time or automatically)
"Update Diagram" runs automatically at the beginning of every simulation, but needs to be run manually if you make any manual ch...

거의 13년 전 | 0

답변 있음
How can the mex-file error be resolved on my system?
The error "specified module could not be found" typically indicates that the MEX-file is trying to load one or more DLLs that it...

거의 13년 전 | 0

답변 있음
Trouble inlining C-Mex S-Functions
I think you might be using the Legacy Code Tool incorrectly - the code that you supply to the tool is supposed to be standalone ...

거의 13년 전 | 1

| 수락됨

답변 있음
Simulink Coder- Post Processing
Did you run the build again after running the |set_param|? The function is called by the build process and is not invoked immedi...

거의 13년 전 | 0

답변 있음
Debugging Simulink Export code in Visual Studio
Once you generate the code from Simulink, it is like any other generic C++ code, so this seems like a general C++ question, than...

거의 13년 전 | 0

답변 있음
Checking "Signal must resolve to Simulink signal object" checkbox from code
srcPort = get_param(signal_line, 'SrcPortHandle'); set(srcPort,'MustResolveToSignalObject', 'on'); More information here...

거의 13년 전 | 1

| 수락됨

답변 있음
Runing matlab's engine when Matlab is installed on a different computer in the network
Such a capability is documented as possible on Unix. Please see the <http://www.mathworks.com/help/matlab/apiref/engopen.html en...

거의 13년 전 | 1

| 수락됨

답변 있음
how to name states and outputs in level 1 sfunction
I'm not 100% sure, but my best guess is that there isn't a way to name them in Level-1 S-functions. You may find it fairly simpl...

거의 13년 전 | 0

| 수락됨

답변 있음
Change the color of singal line in Simulink (2012b)
I don't believe it is currently possible to change the color of a signal independent of the associated block. Please feel free t...

거의 13년 전 | 0

| 수락됨

답변 있음
Two questions regarding Matlab's Engine (running Matlab from C programs)
See <http://www.mathworks.com/help/matlab/matlab_external/compiling-engine-applications-in-an-ide.html Compiling Engine Applicat...

거의 13년 전 | 0

답변 있음
How to execute an .m file from the command line in windows without opening a new matlab copy
I think you need to write code to call into <http://www.mathworks.com/help/matlab/call-matlab-com-automation-server.html MATLAB ...

거의 13년 전 | 1

| 수락됨

답변 있음
Matlab Engine Library for Zero-Crossing Detection
I see it defined in simulink/include/simulink.c, which is supposed to be included in all S-functions by virtue of the lines: ...

거의 13년 전 | 0

답변 있음
Using C code in s-functions
# It depends on where this function needs to be called from. Can you elaborate on how the function needs to be used? # For stru...

거의 13년 전 | 0

답변 있음
Stop a mask callback from being called to not display it
I don't think you can prevent the Mask Dialog from opening - what would you have it do? Throw an error, or have a no-op? However...

거의 13년 전 | 0

답변 있음
Import Data From File To run a simulink standalone aplication!
You may find the <http://www.mathworks.com/help/rtw/ug/parameters.html Parameters> section in the Simulink Coder documentation u...

거의 13년 전 | 0

답변 있음
SL MATALB function block a bus-capable block ?
Please read the <http://www.mathworks.com/help/simulink/ug/attach-bus-signals-to-matlab-function-blocks.html documentation> on h...

거의 13년 전 | 0

| 수락됨

답변 있음
GUI popup menu linked to a SIMULINK S-function
Perhaps this is what you're looking for: <http://www.mathworks.com/help/matlab/creating_guis/a-gui-to-set-simulink-model-paramet...

거의 13년 전 | 0

답변 있음
Simulink: Randomize connections between blocks (connect blocks randomly)
You could write a MATLAB function to randomize the connections. Connections can be made with <http://www.mathworks.com/help/simu...

거의 13년 전 | 0

답변 있음
How to use Beagleboard serial port?
Perhaps <http://www.mathworks.com/support/solutions/en/data/1-GYO11R/index.html this solution> will help you.

거의 13년 전 | 0

답변 있음
What is the use of acclerator mode and normal mode of simulation ?
Please read the <http://www.mathworks.com/help/simulink/ug/choosing-a-solver.html Choose a Solver> to understand how solvers aff...

거의 13년 전 | 0

| 수락됨

답변 있음
What is a differece between a constant and Paremeter in Model simulation ?
Do you mean that a Parameter can serve as a Constant? I think a Constant is still needed because it's value doesn't change durin...

거의 13년 전 | 0

| 수락됨

답변 있음
What is the difference between mcc and coder
Please see my previous answer <http://www.mathworks.com/matlabcentral/answers/23369#answer_30714 here>.

거의 13년 전 | 0

답변 있음
Is there any possobility to load matlab code in dsk6713 processor
You can use MATLAB Coder to generate C code from your MATLAB functions as long as they are compatible with the <http://www.mathw...

대략 13년 전 | 0

답변 있음
Record Multiple wmv (videos) in a Simulink model
If you're using a version of MATLAB between R2010a and R2011a, I would recommending looking at this <http://www.mathworks.com/su...

대략 13년 전 | 0

더 보기