Beantwortet
how to load rfl format file in matlab
This doesn't seem like one of the common standard formats. Do you have access to a driver/plugin that will let you read the file...

etwa 15 Jahre vor | 0

Beantwortet
Passing Matlab's Variable To JavaScript via COM
It seems like the method execScript requires two arguments, but in your second statement, you are effectively passing in only on...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
Does simulink have a model that realized the function like imfill
If you do not plan to generate code from your model, you can use the eml.extrinsic (coder.extrinsic starting in R2011a) directiv...

etwa 15 Jahre vor | 0

Beantwortet
Get .mdl list of Simulink browser libraries
I don't know of a public API that provides this information, but I do know that all libraries must provide a slblocks.m on the M...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
C5505 DSP Interface With Matlab/Simulink
# You can interface with a serial port using a <http://www.mathworks.com/help/techdoc/ref/serial.html serial port object>. Not s...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
How to instatiate a variable on to an external file?
I've never tried this, but I think you should be able to achieve this using <http://www.mathworks.com/help/toolbox/ecoder/ug/f60...

etwa 15 Jahre vor | 0

Beantwortet
Using Boost Libraries with Mex function in MATLAB
You should just need to add additional include directories using the -I argument: mex Cluster.cpp -IC:\boost_1_46_1

etwa 15 Jahre vor | 4

| akzeptiert

Beantwortet
Engine Library - how can i print text in the Command-Window
engEvalString with the DISP command should do it for you: engEvalString(ep, "disp('Your text here.');");

etwa 15 Jahre vor | 0

Beantwortet
how to passs output of Java program to m-file
Need http://www.mathworks.com/matlabcentral/answers/6920-how-to-invoke-java-program-from-matlab and http://www.mathworks.com/mat...

etwa 15 Jahre vor | 0

Beantwortet
Matlab Compiler error (cpp files)
Since you are attempting to build a C++ shared library, you need to select a C++ compiler using "mbuild -setup". The list of sup...

etwa 15 Jahre vor | 1

Beantwortet
32 bit mex with 32 bit MATLAB on Windows 7 64 bit OS failure to run
It seems like you may not have all the DLLs required by the MEX-function on the path. See <http://www.mathworks.com/support/solu...

etwa 15 Jahre vor | 0

Beantwortet
Link between blocks
It seems like you are using a block from the SimPowerSystems library which can only be connected to blocks that accept physical ...

etwa 15 Jahre vor | 1

| akzeptiert

Beantwortet
Is it possible to run a built exe without MCR?
When using the MATLAB Compiler to compile MATLAB code into a standalone executable, you do need to install the MCR because the g...

etwa 15 Jahre vor | 5

| akzeptiert

Beantwortet
Display current value of Embedded MATLAB function variable
You should be able to debug an Embedded MATLAB Function block by selecting "Enable Debugging" from the Debug menu. See <http:...

etwa 15 Jahre vor | 1

Beantwortet
How to create a structure inside structure in mex file.
I think what you intend to construct is a nested structure. Try something like: #include "mex.h" void mexFunction(int ...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
How to use solve function in Embedded function block of simulink ?
What is the exact error message that you receive? Note that solve (or any of the Symbolic Math Toolbox functions) is not amongst...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
MATLAB R2010b crashes on windows 7 64bit
I would recommend contacting Installation Support for this issue.

etwa 15 Jahre vor | 0

Beantwortet
tcpip in S function
If you are using Level 1 MATLAB S-functions, I would highly recommend considering Level-2 S-functions instead. I think the prima...

etwa 15 Jahre vor | 0

Beantwortet
recompile codegen C code with mex
There is usually a .bat (or shell script on Linux) that sets up environment variables and runs a makefile (also generated to the...

etwa 15 Jahre vor | 1

| akzeptiert

Beantwortet
trouble passing image from c to matlab..
Is there a reason your are using a rather roundabout way to achieve this? Why not use something like: ... mxArray *mat1;...

etwa 15 Jahre vor | 0

Beantwortet
problem of Dos window about the information of data postprocessing
You have probably compiled your project as a "Windows Standalone" (if using deploytool) or used the mcc -e option, which suppres...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
Buses as inputs/outputs in C MEX S-Functions
There is actually a demo titled "Using Buses with Legacy Functions Having Structure Arguments" that shows how to use the Legacy ...

etwa 15 Jahre vor | 1

Beantwortet
Assembler commands in C-code for S-Functions
Where are you writing the asm(...) commands? Note that your MEX S-function is used for simulation on the host machine (where MAT...

etwa 15 Jahre vor | 0

| akzeptiert

Beantwortet
Level 2 S Function
Have you tried using: block.SetPreCompOutPortInfoToDynamic; In your setup function? I think that should do it. Othe...

etwa 15 Jahre vor | 0

Beantwortet
Delphi and Matlab DLL
Unfortunately, Delphi is not one of the <http://www.mathworks.com/support/compilers/R2011a/win32.html supported compilers> with ...

etwa 15 Jahre vor | 1

| akzeptiert

Beantwortet
Libraries, model workspace, base workspace and how to parameterize my models
I am partial to the Mask Parameters option, because it doesn't pollute the Model Workspace and allowing the blocks to run indepe...

etwa 15 Jahre vor | 0

Beantwortet
SimPowerSystem block Asynchronous Machine SI Units
Right-click on the block, select "View Mask..." and browse to the initialization pane. You will see that SM is a variable return...

etwa 15 Jahre vor | 2

| akzeptiert

Beantwortet
new simulink block
There are several ways to create a custom block in Simulink. The most common ones being: # Implement the block algorithms usi...

etwa 15 Jahre vor | 1

Beantwortet
Using publish from within a GUI
My guess is that PUBLISH is looking for 'mu' in the base workspace instead of the GUI workspace. You could try creating 'mu' in ...

etwa 15 Jahre vor | 1

| akzeptiert

Beantwortet
MCR invocation
MATLAB and the MCR use JVM for some functionality. If the code that you'd like to compile does not use JVM functionality (you ca...

etwa 15 Jahre vor | 1

Mehr laden