Answered
Java .dll library path issues
Try adding the path to the DLLs to the system PATH variable and restart MATLAB.

14 years ago | 0

| accepted

Answered
mex function error in Win32
It looks like your R2007b is a 64-bit installation, but you are attempting to load a 32-bit DLL/MEX file on it. You need to re-c...

14 years ago | 0

Answered
Windows OS update from 32 bit to 64 bit
This is a generic compiler warning that you could ignore if you like. See <http://msdn.microsoft.com/en-us/library/3b2e7499%28v=...

14 years ago | 0

Answered
How to simulate a model from command line with particular signal group in signal builder?
See <http://www.mathworks.com/support/solutions/en/data/1-10WC4X/index.html How can I programmatically select a group from the S...

14 years ago | 0

Answered
embedded coder generating code for MPC55xx using gcc compiler
I don't believe Embedded Coder officially supports GCC as a compiler for MPC55xx specific targets. Do you have access to MPC55xx...

14 years ago | 0

| accepted

Answered
Run a simulink/script from a pushbutton
By default, Simulink looks for parameter variables in the base workspace. You variable P1 is created in the function workspace, ...

14 years ago | 1

Answered
What's the best approach for learning S-Function development
See <http://www.mathworks.com/help/toolbox/simulink/ug/bq3qcgr.html Comparison of Custom Block Functionality> for an extensive c...

14 years ago | 2

Answered
.Net Builder and Compiler error.
What version of MATLAB are you using? It appears that R2010a and R2010b had <http://www.mathworks.com/support/bugreports/664128 ...

14 years ago | 0

Answered
Can't run executable created by MCC, of m-code containing EML directives.
The EML directives attempt to call into libraries that are not part of MATLAB Compiler Runtime, so you cannot execute this code ...

14 years ago | 0

| accepted

Answered
Is it possible to generate C code from my MATLAB algorithm if it contains the function "lla2flat" from the Aerospace Toolbox?
Here is the list of <http://www.mathworks.com/help/releases/R2011a/toolbox/eml/ug/bq1h2z7-11.html functions supported for code g...

14 years ago | 0

| accepted

Answered
Simulink- swapping inputs and outputs from left to right
Select the block and hit Ctrl+R twice OR hit Ctrl+I OR select block and Format->Flip Block.

14 years ago | 0

| accepted

Answered
legacy_code
# You can define any number of functions in an S-function file (or have them in separate C-files that you can link into the S-fu...

14 years ago | 1

Answered
link to a m-file from Simulink model
I think the links in the S-function demos are basically empty subsystems with the <http://www.mathworks.com/support/tech-notes/1...

14 years ago | 2

Answered
using level 1 S-function with simulink
The inputs to the S-function are not available at the time that mdlInitializeSizes is called (u is an empty variable - you could...

14 years ago | 1

Answered
Calling Internet Explore from MATLAB and same also for FireFox too
Try: myUrl = 'www.mathworks.com/index.html'; ieCmd = ['iexplore ' myUrl]; ffCmd = ['firefox ' myUrl]; system(ieCmd); ...

14 years ago | 2

| accepted

Answered
How to set up c++ mex at matlab 2010b
This looks like <http://www.mathworks.com/support/bugreports/661855 Bug #661855>. There is a patch attached to the bug report th...

14 years ago | 0

Answered
Is it possible to use TI IQmath in S-functions.
AFAIK, IQmath libraries cannot be executed on host-based platforms. So you cannot call into them directly from S-functions, beca...

14 years ago | 0

Answered
MCR: Running a 32-Bit executable on a 64-Bit system
According to <http://www.mathworks.com/support/solutions/en/data/1-3PKX8O/index.html this solution>, you only need to install 32...

14 years ago | 1

| accepted

Answered
Measing the execution time of S-Function entry points
I don't believe the S-function API itself provides any profiling mechanism. However, you should be able to profile your operatio...

14 years ago | 0

Answered
Selecting bus signal from variable in Simulink
AFAIK, this is not possible in Simulink. The reason that dynamic selection of bus elements cannot be supported is because bus si...

14 years ago | 0

| accepted

Answered
Automate SFunction generation - Simulink workflow
Try the following: set_param('subsystem_model', 'SystemTargetFile', 'rtwsfcn.tlc'); set_param('subsystem_model', 'Create...

14 years ago | 1

| accepted

Answered
Unable to build a shared library
Are you running the example on <http://www.mathworks.com/help/toolbox/compiler/f2-972343.html this page>? If yes, you should hav...

14 years ago | 0

| accepted

Answered
Generic S function for communication with external application
Your question does not provide all the information needed: 1) What mode of communication/interface does your external applica...

14 years ago | 0

Answered
RTW C-API and Matrix-Parameters of variable length (and width).....
AFAIK, you cannot change the attributes of the parameters (datatype, dimensions, complexity, etc.) once the model has been compi...

14 years ago | 0

| accepted

Answered
Calling Matlab Built-in Functions from Visual Studio
I would recommend following the MATLAB Engine API <http://www.mathworks.com/help/techdoc/matlab_external/f29148.html documentati...

14 years ago | 0

| accepted

Answered
Matlab Windows CE Arm920T Application
If you'd like to deploy MATLAB code onto an embedded target, you need to generate C code from it using <http://www.mathworks.com...

14 years ago | 0

Answered
Regarding pausing an integration of a integrator block in a simulink model
This is not directly possible, but you should be able to implement your model such that you receive the desired result. However,...

14 years ago | 1

| accepted

Answered
Problem with Visual Studio 2010
You have to define a gateway function with the following prototype: void mexFunction(int nlhs, mxArray *plhs[], int nrhs, co...

14 years ago | 0

Answered
MATLAB Licensing
It is a separate product that you need to get a license for.

14 years ago | 0

| accepted

Answered
view usage of parameters in model.mld
You should be able to use: >> [VarsOut]=Simulink.findVars('MyModel') See <http://www.mathworks.com/help/toolbox/simulink/...

14 years ago | 1

Load more