Answered
Generate mex file for filter
Unfortunately, it doesn't look like you can generate code from this class. Perhaps you can separate out the call to the filter i...

13 years ago | 0

| accepted

Answered
Code generation of TCP/IP block
The TCP/IP block is probably not supported for code-generation, which is why you don't see it in the generated code (do you see ...

13 years ago | 1

| accepted

Answered
empty signal coming into minimum block problem
Not sure if this is what you're looking for, but you can use the <http://www.mathworks.com/help/simulink/slref/stopsimulation.ht...

13 years ago | 0

Answered
Insert a detector block in simulink
Try this instead: hDetector=add_block('sldvlib/Temporal Operators/Detector',[blockName 'Detector']) You can right click ...

13 years ago | 0

| accepted

Answered
Set ports properties from Level2-M-File
Yes, you do have to specify the output port sampling modes as well. Also, your |setInPortSamMode| doesn't have the correct proto...

13 years ago | 0

Answered
I need PLC code generator in simulink but does not aprear in my pop menu. how can I install it?
If you need to buy a license to Simulink PLC Coder, you can either call <http://www.mathworks.com/support/contact_us/index.html ...

13 years ago | 0

Answered
Error in MATLAB function
Your MATLAB Function block's <http://www.mathworks.com/help/simulink/ug/matlab-function-block-editor.html#bqgwvsq-1 Ports and Da...

13 years ago | 0

Answered
MATLAB command line control of Simulink signal builder
Please see this <http://www.mathworks.com/matlabcentral/answers/49996 previously answered question>.

13 years ago | 0

Answered
errors of HDL Coder geneation in tutorial
The "cmd.exe is not recognized as an internal or external command, operable program or batch file" error usually means that you ...

13 years ago | 0

Answered
Is there a tutorial for exporting a Simulink Model to C++ for running in an external real time simulation?
Here is the relevant documentation: <http://www.mathworks.com/help/rtw/hardware-in-the-loop-hil-simulation.html Deploy environme...

13 years ago | 0

Answered
Problem in Find Simulink Block
You can use a <http://www.mathworks.com/help/simulink/ug/triggered-subsystems.html Triggered Subsystem> to do this.

13 years ago | 1

Answered
open another software using MATLAB
If the software has a COM interface, you can use the <http://www.mathworks.com/help/matlab/using-com-objects-in-matlab.html MATL...

13 years ago | 0

Answered
simulink support for Arduino evaluation
You should be able to use blocks from the <http://www.mathworks.com/help/simulink/logic-and-bit-operations.html Logic and Bit Op...

13 years ago | 0

Answered
how to integrate matlab code with fpga kit
You can use <http://www.mathworks.com/products/hdl-coder/index.html HDL Coder> to generate HDL code from your MATLAB functions. ...

13 years ago | 0

Answered
Simulink: How to start simulation of a subsystem separately?
If your subsystem is inside an <http://www.mathworks.com/help/simulink/ug/enabled-subsystems.html enabled subsystem>, you simply...

13 years ago | 0

Answered
CMEX S-function callback methods
You can use <http://www.mathworks.com/help/simulink/sfg/mdlsimstatuschange.html mdlSimStatusChange> (with the condition: |simSta...

13 years ago | 0

| accepted

Answered
Compiling C++ s-functions in MATLAB R2007b x86 on Windows 7 x64 Professional
The 'Specified module could not be found' error usually means that you are missing one or more DLL dependencies. Please see if t...

13 years ago | 0

| accepted

Answered
How to control no. of simulations/iterations of embedded MATLAB program in Simulink model
Please read the section <http://www.mathworks.com/help/simulink/ug/choosing-a-solver.html Choose a Solver> to understand the dif...

13 years ago | 0

Answered
Getting the datatype of a signal from simulink
Please see <http://www.mathworks.com/matlabcentral/answers/8679#answer_11953 this answer>.

13 years ago | 2

Answered
Communication between MATLAB R2010a and CCS 3.3
I think what you need is <http://www.mathworks.com/help/ecoder/ug/processor-in-the-loop-pil-simulation.html PIL Simulation>. You...

13 years ago | 0

Answered
Block Creation in Simulink
Please read the section on <http://www.mathworks.com/help/simulink/custom-block-basics.html Custom Block Basics> to get started....

13 years ago | 0

Answered
Compiled S-Function Not Found Error
What does MATLAB return when you type "mexext" at the prompt? If it returns mexa64, then you need to compile your MEX-function a...

13 years ago | 0

Answered
How to connect Phantom (Robot) to windows real-time target?
From <http://www.mathworks.com/help/rtwin/ug/using-i-o-boards.html this page>: "The device drivers supported by the Real-Time...

13 years ago | 1

| accepted

Answered
MATLAB compiling problem/error
I'm not sure if I can be of much help, but just some thoughts that might help you understand what might be going on: # It is ...

13 years ago | 0

Answered
create Executable file from simulink model
I think you might need to modify the generated code to accept the input from whatever source you need it to use.

13 years ago | 1

Answered
how to define x-vectorm in M S-Function
You are required to return your computed states (the vector x) in Case 2 (mdlUpdate). Please read <http://www.mathworks.com/help...

13 years ago | 0

Answered
How can I access the value of signals at the time of stopping the simulation.
Perhaps you can use the model callback <http://www.mathworks.com/help/simulink/ug/using-callback-functions.html#f4-56417 StopFcn...

13 years ago | 0

Answered
Generate a variable sine wave during simulink simulation
The Sine Wave block from the Simulink>Sources library does not accept any inputs, so you cannot use this block to change 'M' and...

13 years ago | 0

| accepted

Answered
can i install Matlab runtime (MCR) on android tab?
The MATLAB Compiler Runtime (MCR) has the same System requirements as MATLAB. See <http://www.mathworks.com/support/sysreq/previ...

13 years ago | 0

| accepted

Answered
is Simulink can contact with FPGA kit ?
Yes, you can generate HDL code from Simulink models using <http://www.mathworks.com/products/hdl-coder/index.html HDL Coder>. Pl...

13 years ago | 0

| accepted

Load more