Answered
Obtaining simulation results
AFAIK, simulation of Simulink models is not supported in compiled applications. See <http://www.mathworks.com/matlabcentral/answ...

15 years ago | 0

Answered
Using array of strings in TLC files
Try: %assign names = ["Jane", "John", "Jeff"] myFunction(%<names[1]>, 100) Although it's not clear what you want to do wit...

15 years ago | 2

| accepted

Answered
phased array system tool box and xilinx blockset
I'm not very familiar with all the functionality that is available with the System Generator blockset (Xilinx support might be a...

15 years ago | 0

Answered
Problem building C++ code from a neural network Simulink model
You can replace the MATLAB Fcn block with a corresponding Simulink library blocks-based implementation that imitates <http://www...

15 years ago | 0

| accepted

Answered
How to return multiple parameters from Matlab to a Java program
AFAIK, the first argument that you pass into the method is the expected number of output arguments. So all you need to do is cha...

15 years ago | 0

| accepted

Answered
matlab database
Are you using a JDBC driver? If you do not have a username and password, it is likely that your database uses Windows authentica...

15 years ago | 0

Answered
Simulink Real Time Workshop Generated Code Missing Include Files
You can use the packNGo function to find all dependencies and package them for you. See <http://www.mathworks.com/help/toolbox/r...

15 years ago | 0

| accepted

Answered
Help me understand this warning message
See <http://www.mathworks.com/support/solutions/en/data/1-16V6S/?solution=1-16V6S What are algebraic loops in Simulink and how d...

15 years ago | 0

Answered
Setting variable values in workspace for simulating model in command window.
It looks like #1 has already been answered on your previous question: http://www.mathworks.com/matlabcentral/answers/11069-simul...

15 years ago | 0

Answered
Some Calling Problem ...dunno what is the problem
It looks like the error occurred in scattering_xsection itself (not in RF_Model2), so make sure that you assign the output varia...

15 years ago | 0

Answered
strfind in simulink and stateflow
Do you mean that you expect V=10000, but you actually get V=1? I don't know what you've done differently, but after changing you...

15 years ago | 1

Answered
Using EDA Simulator Link with Simulink to Import HDL Files to Model
Do you use ModelSim for the HDL simulation? The best way to do this would be to use EDA Simulator Link - the only way around it ...

15 years ago | 0

| accepted

Answered
Error using load and program hangs
Do you have a custom startup.m file in the MATLAB installation that you used to compile with MATLAB Builder JA? To locate it, ty...

15 years ago | 0

Answered
set deploytool for compile activex
Do you mean you want to create COM components from MATLAB code? If yes, you need <http://www.mathworks.com/products/netbuilder/?...

15 years ago | 0

Answered
Running Matlab script from Excel
See <http://www.mathworks.com/help/techdoc/matlab_external/f135590.html Examples of a MATLAB Automation Server>

15 years ago | 0

Answered
MEX problem with mxGetData
Here, prhs[1] is a cell array, so you need to use <http://www.mathworks.com/help/techdoc/apiref/mxgetcell.html mxGetCell> to acc...

15 years ago | 1

Answered
use Extrinsic function in Embedded Matlab Function of Simulink
The Embedded MATLAB Function block only allows inputs/outputs of numeric types - TriScatteredInterp is not a supported type. ...

15 years ago | 1

| accepted

Answered
Ajax interface to Google Scholar html
I found a submission on File Exchange that access Google Scholar: http://www.mathworks.com/matlabcentral/fileexchange/9710-h-ind...

15 years ago | 0

Answered
Displaying a user-defined library in the simulink library browser
Have you added My Documents/<myusername>/MatLab/PackNTxLib to the MATLAB path? Once you have done that, run: which -all sl...

15 years ago | 0

| accepted

Answered
Model optimization using SIMULINK
I've not done this before, but it looks what you need is <http://www.mathworks.com/products/sl-design-optimization/index.html Si...

15 years ago | 1

| accepted

Answered
Problem with updating model parameters dynamically..
You can use work vectors to store previous value(s) of the outputs and use that to update the next value (you don't need to phys...

15 years ago | 0

| accepted

Answered
Matlab and Simulink, the same?
Simulink needs an additional license. What do you see when you type: >> ver Also try >> [TF errmsg] = license('checkout...

15 years ago | 0

| accepted

Answered
Share ActiveX control between GUIDE and S-Function
You could potentially use the block's UserData to share data between the block and another function. See the example on <http://...

15 years ago | 0

| accepted

Answered
How to call .dll document in RTW
According to <http://www.mathworks.com/help/toolbox/rtwin/ug/f7929.html this page> in the Real-Time Windows Target (RTWT) docume...

15 years ago | 0

Answered
setting deploytool
You need to compile as a "Windows Standalone Application" to suppress the DOS window.

15 years ago | 0

Answered
"not a valid win32 application
A similar problem was discussed in a <http://www.mathworks.com/matlabcentral/answers/6473-trouble-connecting-to-dll-file-from-ma...

15 years ago | 0

Answered
Code generation
Perhaps you are attempting to run this code in MATLAB? coder.ceval only applies during code generation. You may need to modify y...

15 years ago | 0

Answered
How can I get a non-UNC path with the tempfile function?
You may need to map the directory to a drive as well as set your $TEMP environment variable accordingly (you will need to restar...

15 years ago | 0

| accepted

Answered
Can we get Battery laptop indicator in simulink??
There is no direct way to do this, but you could use an API function provided by the operating system and call it from an S-func...

15 years ago | 1

| accepted

Answered
Saving to TXT from standalone executable
Are you including the data file (to read from) under "Other/Additional files" in DEPLOYTOOL? This will package the file in the C...

15 years ago | 0

Load more