Risposto
variable size matrix error in matlab function block
You need to enter the maximum size of variable-size signals by checking the "Variable size" box and entering the size in the "Si...

quasi 12 anni fa | 0

| accettato

Risposto
problem in simulink connections..??
It looks like one of your blocks works with physical signals, but the other using regular Simulink signals. You will need to use...

quasi 12 anni fa | 0

Risposto
Data analysis of a diesel generator in simulink
If you're question is about importing Excel data into Simulink, please see: http://www.mathworks.com/matlabcentral/answers/6316-...

quasi 12 anni fa | 0

Risposto
Build s function from external m file
See this previously answered question: <http://www.mathworks.com/matlabcentral/answers/37221-sfunction-builder-function-through-...

quasi 12 anni fa | 0

Risposto
i have data in m.file..how to put the data in simulink
You can use the |PreLoadFcn| model callback to call your MATLAB file that creates the data. Please see <http://www.mathworks.com...

quasi 12 anni fa | 1

Risposto
How to edit slblocks.m to create custom library and sub-library?
You need to create a new slblocks.m in the same folder as your library, and add the folder to the MATLAB path. See <http://www.m...

quasi 12 anni fa | 0

| accettato

Risposto
S funtion block inputs
If the (25 or so) variables do not change during run-time, you might want to make them parameters of the S-function.

quasi 12 anni fa | 0

Risposto
How to deal with functions that are not supported in HDL coder?
If you are using |coder.extrinsic| to call a function in your MATLAB code, it is likely that the function is not supported for c...

quasi 12 anni fa | 0

| accettato

Risposto
coder.excentric not working when compiling with TwinCat Target
You can either implement the functionality yourself in C, or find a third-party library that does so, and call it in your MATLAB...

quasi 12 anni fa | 0

Risposto
S-Function containing C-code file
Did you also re-name the |S_FUNCTION_NAME| macro in the C-file? #define S_FUNCTION_NAME timestwo1 Also, note that Simul...

quasi 12 anni fa | 0

Risposto
Problem with Matlab Compiler and .txt files
Could you try specifying the full path to fich_poids.txt and see if that helps? You can also read <http://blogs.mathworks.com/lo...

quasi 12 anni fa | 0

Risposto
How to make a standalone executible with calls to simulink and state flow?
Please see <http://www.mathworks.com/matlabcentral/answers/97161-how-can-i-create-a-deployable-standalone-executable-from-a-matl...

quasi 12 anni fa | 0

Risposto
How can i read from Matlab m-File the Data Type and Dimension of Simulink Model Signals?
These are block properties available for query after the model has been compiled. For example, for the model _vdp_: vdp([],...

quasi 12 anni fa | 0

| accettato

Risposto
How to integrate Simulink (R2011a) with Code Composer Studio v5.x for code generation?
You may want to refer to this previously answered question regarding use of Xmakefilesetup with CCSv5: http://www.mathworks.com/...

quasi 12 anni fa | 0

Risposto
Start function of Matlab S-function is called during code generation
Are you sure that the Terminate function is never called? If you look under "Calling Structure for Code Generation" on the docum...

quasi 12 anni fa | 0

Risposto
how to store and use previous values of a variable in simulink during simulation?
As far as I know, using some of form of delays is the only way to store values from previous time-steps. Perhaps you could expla...

quasi 12 anni fa | 0

Risposto
How to generate code for mex files too while generating hardware specific code from simulink ?
Since MEX-files are specific to the MATLAB environment, you cannot run them on an embedded target. If you have the equivalent st...

quasi 12 anni fa | 1

| accettato

Risposto
Error when building Simulink model with C mex S-function in RTW (R2010b)
Bert: You need to modify your S-function code and remove the calls to the mxArray libraries. These libraries only run in the MAT...

quasi 12 anni fa | 0

Risposto
When starting Matlab R2013b it gives Illegal System DLL Relocation message, how to fix it?
From a web search, this seems like a Windows issue due to a Microsoft Security Update. See http://www.withsteps.com/240/illegal-...

circa 12 anni fa | 0

| accettato

Risposto
S-Function with different behaviors during simulation and embedded coding
Yes, as you noted from my previous answer, your M-file will define simulation behavior, while the TLC will be used for code gene...

circa 12 anni fa | 1

| accettato

Risposto
How to Build TLC files to generate C Code during RTW/EC build process?
Please refer to the documentation on <http://www.mathworks.com/help/rtw/target-extensions.html Target Development>.

circa 12 anni fa | 0

Risposto
How i can get the class of vision.CascadeObjectDetector() ,whether the source code of it matlab provided?
You need to purchase and install the Computer Vision Toolbox to have access to this class.

circa 12 anni fa | 1

| accettato

Risposto
.m file link with ccs 3.3 for ezdsp F28335
CCS is a compiler which will convert C code into binary files meant for TI processors like ezdsp F28335. You need to convert you...

circa 12 anni fa | 0

| accettato

Risposto
Error in building model
This question has been <http://www.mathworks.com/matlabcentral/answers/40031-name-bat-is-not-recognized-as-an-internal-or-extern...

circa 12 anni fa | 0

| accettato

Risposto
can we use MATLAB FUNCTION block for .m file for simulation?
WAVREAD and WAVWRITE are not amongst the <http://www.mathworks.com/help/simulink/ug/functions-supported-for-code-generation--alp...

circa 12 anni fa | 0

| accettato

Risposto
how to link simulink with GUI so that the simulink model take the paramaeter set from the gui and and also gui get the data from the simulink model ?
See <http://www.mathworks.com/matlabcentral/answers/96425-how-can-i-update-a-gui-with-values-from-my-simulink-model-as-it-is-run...

circa 12 anni fa | 3

Risposto
using a variable in simulink function
I'm assuming that by "User Defined Function", you actually mean the MATLAB Function block? If so, you can read a workspace varia...

circa 12 anni fa | 0

| accettato

Risposto
"code error" "model error" "parse log" in simulink
Unfortunately, you do need to install a C compiler for Stateflow/MATLAB Function blocks to work. If you're on Windows, you could...

circa 12 anni fa | 0

Risposto
How to install ArduinoIO in Matlab R2009a?
The |targetinstaller| was introduced in R2012a. See <http://www.mathworks.com/matlabcentral/answers/99769 Is Arduino® supported ...

circa 12 anni fa | 0

Risposto
Embeded existing C code in a Simulink model
There is an automated tool called the <http://www.mathworks.com/help/simulink/sfg/integrating-existing-c-functions-into-simulink...

circa 12 anni fa | 0

Carica altro