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

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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=...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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, ...

fast 15 Jahre vor | 1

Beantwortet
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...

fast 15 Jahre vor | 2

Beantwortet
.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 ...

fast 15 Jahre vor | 0

Beantwortet
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 ...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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.

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 1

Beantwortet
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...

fast 15 Jahre vor | 2

Beantwortet
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...

fast 15 Jahre vor | 1

Beantwortet
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); ...

fast 15 Jahre vor | 2

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

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

fast 15 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

Beantwortet
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,...

fast 15 Jahre vor | 1

| akzeptiert

Beantwortet
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...

fast 15 Jahre vor | 0

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

fast 15 Jahre vor | 0

| akzeptiert

Beantwortet
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/...

fast 15 Jahre vor | 1

Mehr laden