답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 3

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 2

| 수락됨

답변 있음
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년 초과 전 | 4

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 2

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 2

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

더 보기