Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 3

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 1

| aceptada

Respondida
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 ...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 2

| aceptada

Respondida
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...

más de 13 años hace | 4

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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://...

más de 13 años hace | 1

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 2

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 1

Respondida
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...

más de 13 años hace | 1

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 1

Respondida
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 ...

más de 13 años hace | 1

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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.

más de 13 años hace | 2

Respondida
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...

más de 13 años hace | 0

Respondida
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....

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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,...

más de 13 años hace | 0

Cargar más