Answered
c++ dll takes unsigned char* as paramater and fills it out, how to use in MATLAB
I'm not very familiar with this, but a similar question has been answered here: http://www.mathworks.com/matlabcentral/answers/6...

14 years ago | 0

Answered
Simulink: Default Integration Time
I am assuming you meant to say "sample time" and not "integration time". Please see <http://www.mathworks.com/help/toolbox/simul...

14 years ago | 0

Answered
"Unresolved symbols found" at parsing. Symbols supposed to be included from a header file
You need to add the header to the Simulation Target->Custom Code->Header File pane of the model Configuration Parameters window....

14 years ago | 1

| accepted

Answered
Running a Texas Instruments 28346 in Standalone with Embedded Coder - possible? Performance?
Yes, it appears that Embedded Coder does support TI C28346 (see http://www.mathworks.com/products/embedded-coder/ti-adaptor.html...

14 years ago | 0

| accepted

Answered
how to run a vhdl code on FPGa using EDA Simulator Link
The co-simulation is done using an EDA simulator (like Xilinx ISE), not on the FPGA. Please ensure that you have already set up ...

14 years ago | 0

Answered
IF-ELSE block in simulink
You can put the If-Else subsystem inside an <http://www.mathworks.com/help/toolbox/simulink/ug/f4-84107.html Enabled Subsystem> ...

14 years ago | 0

| accepted

Answered
missmatch between mcr version and packaged jar (Failed to find the library libmwmclmcrrt.so.7.13)
You need to add configure LD_LIBRARY_PATH and XAPPLRESDIR as the documentation suggests. See <http://www.mathworks.com/help/tool...

14 years ago | 0

Answered
Simulink warning and error in mex s-function
For the warning, try running "rehash toolboxcache" at the MATLAB prompt, and then clear the checkbox under Start->Preferences->G...

14 years ago | 0

| accepted

Answered
How to - "sort" using mexCallMATLAB ?
Yes, you should be able to call into the MATLAB 'sort' implementation using mexCallMATLAB. Whether or not to implement your own ...

14 years ago | 0

Answered
mxArray problem
Please see the answer here: http://www.mathworks.com/matlabcentral/answers/13297-subscripting-into-an-mxarray

14 years ago | 0

| accepted

Answered
Static linkage of libmat when developing standalone application
libmat.lib is the import library for libmat.dll, so even though you have linked your application against it, you still need to m...

14 years ago | 0

Answered
How to correctly specify Stateflow Custom Target in Stateflow Ver.7.7 (R2011a)
I am not familiar with the demo you pointed to, but when custom code is called from Stateflow, the corresponding header and libr...

14 years ago | 0

Answered
Turning Off Auto Code Correct in 2011b?
I'm not sure exactly which feature it is that is providing suggestions to you, but almost all MATLAB Editor preferences are unde...

14 years ago | 0

Answered
Generate C code from a block of a model with the rtwbuild function
Yes, <http://www.mathworks.com/help/toolbox/rtw/ref/rtwbuild.html RTWBUILD> does allow you to generate code from a subsystem. Al...

14 years ago | 0

Answered
Creating documentation for a compiled Matlab Application
I don't believe that the MATLAB Compiler Runtime libraries ship with the MATLAB help/web browser which provides searchability. H...

14 years ago | 0

| accepted

Answered
Variable table inputs in Simulink Coder
AFAIK, only the <http://www.mathworks.com/help/toolbox/simulink/slref/lookuptabledynamic.html Lookup Table Dynamic> allows you t...

14 years ago | 0

| accepted

Answered
warning C4002: too many actual parameters for macro 'sfcnOutputs'
Could you turn on <http://www.mathworks.com/help/toolbox/rtw/ref/brh9ygl-1.html#brh9ygm-18 code-to-model highlighting> and see w...

14 years ago | 0

Answered
Simulink Enumeration
I don't think you can use this kind of enumerated class in Simulink. Simulink enumerated types need to inherit from Simulink.Int...

14 years ago | 0

Answered
How to create a C shared library that contain Matlab GUI function, and how to call the function from visual studio 2008?
<http://www.mathworks.com/help/toolbox/compiler/f2-972343.html This page> has an example of compiling and building C shared libr...

14 years ago | 0

| accepted

Answered
Simulink Build Error when building for Intecrio software (irt.tlc target)
You should probably contact the author for irt.tlc (it looks like a third-party target and not from MathWorks). It looks like th...

14 years ago | 0

Answered
How to build a *.exe file from my m-file that works in windows environment?
Alternatively, you can use <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder> to generate standalone C code if you a...

14 years ago | 0

Answered
Putting file properties into matlab-compiled programs/libraries
I don't think this is directly supported by MATLAB Compiler, but if you know how to do it with the compiler you've selected usin...

14 years ago | 0

Answered
How to import data to Excel through Matlab
You can either use <http://www.mathworks.com/products/excellink/ Spreadsheet Link EX> or use the Excel COM interface from MATLAB...

14 years ago | 0

Answered
Hyperlink
This should work: disp('<a href = "matlab:web(''http://www.mathworks.com'', ''-browser'')">The MathWorks Web Site</a>')

14 years ago | 1

| accepted

Answered
Trying simple tutorial for EDA Link between Simulink and Modelsim for MATLAB R2010a
I think the issue may be that Modelsim is not on the system path, and MATLAB can't find it. For example, try the following from ...

14 years ago | 0

Answered
Tuning parameters via C API
You should find a parameter structure declared as "extern" in the _modelname_.h file. It typically has a type named something li...

14 years ago | 0

Answered
Load initial state in multirate systems
Which block is that exactly? If it a block from the Simulink library, it is worth reporting this to MathWorks Tech Support so th...

14 years ago | 0

Answered
Exchange random variable name between several TLC files
1) How do you create the variable? If you are simply generating it using TLC and it is not directly associated with a signal and...

14 years ago | 1

| accepted

Answered
Making the "lyap" function work in Simulink and RTW
Unfortunately, there is no way to generate code from the lyap function currently. However, the typical approach in embedded syst...

14 years ago | 0

Answered
Getting the signal names from a bus.
If you are using R2010b or a newer release, see Guy's answer here: http://www.mathworks.com/matlabcentral/answers/15425-bus-sign...

14 years ago | 0

Load more