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

15 years ago | 0

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

15 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 0

| accepted

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

15 years ago | 0

| accepted

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

15 years ago | 0

Answered
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

15 years ago | 4

| accepted

Answered
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.');");

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 1

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

15 years ago | 0

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

15 years ago | 1

| accepted

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

15 years ago | 5

| accepted

Answered
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:...

15 years ago | 1

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

15 years ago | 0

| accepted

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

15 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 1

| accepted

Answered
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;...

15 years ago | 0

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

15 years ago | 0

| accepted

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

15 years ago | 1

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

15 years ago | 0

| accepted

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

15 years ago | 0

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

15 years ago | 1

| accepted

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

15 years ago | 0

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

15 years ago | 2

| accepted

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

15 years ago | 1

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

15 years ago | 1

| accepted

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

15 years ago | 1

Load more