Answered
Communicating Simulink 8.0 (2012) with Code Composer Studio (CCS v5.2)
I'm not all that familiar with the TI Adaptor, but from Antonin's comment on <http://www.mathworks.com/matlabcentral/answers/254...

13 years ago | 0

Answered
How to get all parameters for a Simulink masked system at once?
I'm assuming that you want to do is get the list of dialog parameters and their values? In that case, you need to write somethin...

13 years ago | 3

Answered
Array of buses, with bus having different data types, Simulink 2012a
You can follow the same methodology, except that the Bus object in the workspace (called |sldemo_bus_arrays_busobject| in this e...

13 years ago | 0

| accepted

Answered
DLL for a COM server
I think you need to register your DLL as a COM Server on your machine using <http://technet.microsoft.com/en-us/library/bb490985...

13 years ago | 0

Answered
Using merge block with bus signal inputs.
The Merge block does support bus signals. Look for the section called *Bus Support* in the <http://www.mathworks.com/help/simuli...

13 years ago | 1

| accepted

Answered
Transform a S-function into a Simulink block
The only way to create a custom Simulink block without having to carry additional MATLAB or C-MEX S-function files is to create ...

13 years ago | 0

| accepted

Answered
DLL generated by simulink, how can I initialize parameters from an external file?
You can represent your Gain parameter using a <http://www.mathworks.com/help/simulink/slref/simulink.parameter.html Simulink.Par...

13 years ago | 0

Answered
To import data in Simulink
Structure signals in Simulink are called Bus signals. See <http://www.mathworks.com/help/simulink/ug/importing-structures-of-mat...

13 years ago | 2

| accepted

Answered
Frame/sample rate matching in Simulink
It looks like your input to the Unbuffer block has either constant or continuous sample time. You need to force it to be discret...

13 years ago | 4

| accepted

Answered
vectors to scalars with an Embedded Matlab Function
Are you attempting to use the Embedded MATLAB Function block to perform upsampling? If so, I don't think that is possible, becau...

13 years ago | 0

| accepted

Answered
embedded matlab function block
You can set the parameter type to "Inherited" on the Ports and Data Manager (Tools > Edit Data/Ports) if you would like to block...

13 years ago | 0

Answered
How can I open an engine connection against a specific license?
On Windows, the MATLAB Engine will start whichever MATLAB installation was last registered as a COM server. Quoting the <http://...

13 years ago | 1

Answered
Linking Error using Mex
You need to link against the object/library files that contain the definition of Ve_Argus_sensor_system, etc. You can simply tag...

13 years ago | 0

Answered
WriteRTW in a M Level2 S-Function
I experimented a little with the demo file |sldemo_msfcn_frame| and the contained S-function (run |edit msfcn_frame_filt| to se...

13 years ago | 0

Answered
How would it be possible to set the length of the input signal for Matlab function block?
Set the Initial Value of the Step block to |zeros(1,50)| and its Final Value to |ones(1,50)| to have it produce a signal of len...

13 years ago | 2

| accepted

Answered
How to create dll in Matlab to be used in Labview
I'm not sure exactly what kind of interface LabVIEW requires, but <http://www.mathworks.com/help/compiler/c-shared-library-targe...

13 years ago | 0

| accepted

Answered
Using data struct in Simulink Embedded Matlab function
Simulink Buses are the only way to create structure signals in Simulink, so unfortunately, the only solution is to create a Simu...

13 years ago | 1

Answered
simulink coder - code generation not visible in configuration parameter pane
See <http://www.mathworks.com/help/rtw/ug/generated-s-function-block-deployment.html#f4918 Create S-Function Blocks from a Subsy...

13 years ago | 1

| accepted

Answered
Multiple s-function blocks produce different outputs.
Are you using static variables in the C code? If so, you need to replace them with work vectors. It might also be a good idea to...

13 years ago | 0

Answered
How does one export a simulink model as a dll?
You need to have a license to the Embedded Coder product to be able to do this. Please see <http://www.mathworks.com/help/ecoder...

13 years ago | 0

Answered
Parameters of a level-2 s function
To create your own parameter prompts, you need to <http://www.mathworks.com/help/simulink/gui/mask-editor-overview.html Mask the...

13 years ago | 1

Answered
M file starten in Simulink
You can use a <http://www.mathworks.com/help/simulink/ug/annotating-diagrams.html Simulink annotation> with a Click function to ...

13 years ago | 1

Answered
Locate compiler on Windows 64-bit
When you ran "mex -setup", was the utility able to locate the installed compilers automatically, or did you have to manually spe...

13 years ago | 0

Answered
How can I read "Go To" tags in embedded matlab function in Simulink?
Yes, you can have any number of inputs to your Embedded MATLAB Function block. You can either add additional inputs using the <h...

13 years ago | 0

| accepted

Answered
Is it possible to use two different S-function blocks in a simulink model?
Yes, there is no limit on the number of S-function blocks in a model.

13 years ago | 2

Answered
unable to mex a dll library to matlab code.
The error "The specified module could not be found." usually occurs when the MEX-file cannot find a dependency. In this case, yo...

13 years ago | 0

Answered
Creating and naming Simulink Buses
MainBus and SubBus for this demo are loaded from a MAT-file calld businfo.mat - they are loaded from the PreLoadFcn <http://www....

13 years ago | 0

| accepted

Answered
how to generate c++ static library from matlab code
Assuming that you are only using the <http://www.mathworks.com/products/matlab-coder/description2.html subset of the MATLAB lang...

13 years ago | 0

| accepted

Answered
How to creat file.exe from file.mdl in Simulink?
You can use the <http://www.mathworks.com/products/simulink-coder/ Simulink Coder> product to generate standalone C/C++ code fro...

13 years ago | 0

| accepted

Answered
modify simulink model for running in Real-Time Workshop mode
If you need to generate code from your model, you cannot use MATLAB code that is unsupported for code-generation. Unfortunately,...

13 years ago | 0

Load more