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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 3

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 4

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 2

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 2

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

Carica altro