Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How to built .m file to ccs without simulink?
Please see #2 in my answer <http://www.mathworks.com/matlabcentral/answers/29644 here>.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
Checking "Signal must resolve to Simulink signal object" checkbox from code
srcPort = get_param(signal_line, 'SrcPortHandle'); set(srcPort,'MustResolveToSignalObject', 'on'); More information here...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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: ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
How to use Beagleboard serial port?
Perhaps <http://www.mathworks.com/support/solutions/en/data/1-GYO11R/index.html this solution> will help you.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
What is the difference between mcc and coder
Please see my previous answer <http://www.mathworks.com/matlabcentral/answers/23369#answer_30714 here>.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Charger plus