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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 3

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

| akzeptiert

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

mehr als 13 Jahre vor | 4

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 1

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

Mehr laden