Answered
MPC toolbox - Model parameter must be a string
What is the exact SIM command that you are using? The error points to the 'model' parameter, which is the first argument to the ...

15 years ago | 0

Answered
Dynamic number of Simulink blocks, is it possible?
You can use <http://www.mathworks.com/help/toolbox/simulink/slref/add_block.html add_block> to programmatically add blocks to a ...

15 years ago | 1

| accepted

Answered
How to upload MATLAB code on FPGA Board
It is currently not possible to generate HDL code directly from MATLAB Code. However, you can use Simulink HDL Coder to generate...

15 years ago | 0

Answered
Transmitting a signal from matlab
There are several <http://www.mathworks.com/help/techdoc/learn_matlab/bq9b7fb.html external interfacing options> depending on wh...

15 years ago | 0

Answered
Synchronize with clock
See Mark B's comment on http://www.mathworks.com/matlabcentral/answers/2827-implementing-a-real-time-clock

15 years ago | 0

Answered
MATLAB to VHDL/Verilog conversion using Simulink HDL Coder
Why not use the <http://www.mathworks.com/help/toolbox/simulink/ug/f6-106261.html Embedded MATLAB> block to insert the portion o...

15 years ago | 0

Answered
Problems Using Matlab in C++
As described on the documentation page for <http://www.mathworks.com/help/techdoc/matlab_external/f39903.html Compiling and Link...

15 years ago | 0

Answered
Help: Excel Matrix with Buildex EX
I don't have much experience with VBA, but according to the documentation on <http://www.mathworks.com/help/toolbox/matlabxl/ug/...

15 years ago | 0

Answered
Error message relating to powergui
'OpenFcn' is one of the several <http://www.mathworks.com/help/toolbox/simulink/ug/f4-122589.html#f4-45560 callbacks> that a blo...

15 years ago | 1

| accepted

Answered
Calling library problem
Why do you define libname as: libname=strtok(hfile,'.'); The original code says: libname=strtok(dllfile,'.');

15 years ago | 0

| accepted

Answered
compile .mexglx with ifort glib detected error
From the error message, it seems like you have a memory leak in your function (from my experience, Linux is more robust at detec...

15 years ago | 0

| accepted

Answered
File conversion between Matlab 2010 and Matlab 2008
Did you mean Simulink model files? If yes, you can File>SaveAs to a R2008a/b model from the newer version.

15 years ago | 0

Answered
cannot write to this folder permission denied issue
Are you running this command from inside a MATLAB directory (ie. where MATLAB is installed)? Try from a different location, such...

15 years ago | 0

| accepted

Answered
Problem with deployment of .mexw32?
The type of error usually occurs if your MEX-file needs other DLL files that have not been added to the path. _new15bandfilt441....

15 years ago | 0

Answered
Controlling output from Simulink
Why not set the S-function sample time to 2*ssGetFixedStepSize(S) in mdlInitializeSampleTimes? You might also want to protect yo...

15 years ago | 1

Answered
How to generate C++ code from an S-Function?? using RTWEC??
Yes, it is possible to generate Embedded C/C++ code for your S-function by writing a TLC for it. See <http://www.mathworks.com/h...

15 years ago | 2

| accepted

Answered
Using Simulink to import data tables and apply algorithms
The From File and From Workspace blocks are best if you have a vector of input (time) samples. However, since your tables (or at...

15 years ago | 0

Answered
Problem Compiling function subset with EMLC
As explained in the entry for butter in the <http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-9.html Embedded MATLAB Functio...

15 years ago | 1

Answered
Which library does mlfPrintMatrix exist in!?
Where did you find a reference to mlfPrintMatrix? The only search results in the documentation point to a MATLAB Compiler exampl...

15 years ago | 0

Answered
MatLab support for TI OMAPL138
David: This might be question/request better suited for Tech Support.

15 years ago | 0

Answered
Building a mat file with a QT application
One good way to figure out if you're using all the right compiler options is to use the engmatopts.bat option file discussed <ht...

15 years ago | 0

Answered
how to convert block diagram (simulink )to m-file code ?
If you plan to run the model on an microprocessor, you probably need to convert it to C/C++ code and not MATLAB code. To generat...

15 years ago | 3

Answered
How do I Save a Simulink Circuit into a jpeg format picture?
See <http://www.mathworks.com/help/techdoc/ref/saveas.html saveas> Example: systemHandle = get_param(gcs, 'Handle'); savea...

15 years ago | 0

Answered
Increase Memory Available for MATLAB
Some tips at <http://www.mathworks.com/help/techdoc/matlab_prog/brh72ex-49.html Resolving "Out of Memory" Errors>.

15 years ago | 2

Answered
Generate C Function wih inline keyword
I don't think this functionality is currently available. Please contact Tech Support to verify this, and also submit an enhancem...

15 years ago | 0

Answered
Arduino package for Matlab
* <http://www.arduino.cc/playground/ComponentLib/Servotimer1 ServoTimer1> * <http://www.ladyada.net/make/mshield/download.html ...

15 years ago | 0

Answered
Call fortran subroutine to C when wirting mex files.
Use tools like nm (Linux) or dumpbin (Windows) to see how the symbol is defined in your FORTRAN object file. It is likely that y...

15 years ago | 0

Answered
How to sample and process signals of a given length in Simulink
Use the <http://www.mathworks.com/help/toolbox/dspblks/ref/autocorrelation.html Autocorrelation> block, or follow the diagram de...

15 years ago | 0

Answered
Problem with MATLAB Function block in Simulink
Addressing the inconsistency between the values seen in the MATLAB Fcn block and the Display block: Could this be because of the...

15 years ago | 0

Answered
Eclipse, AVR gcc compiler and PIL, SIL simulation
I think the <http://www.mathworks.com/academia/arduino-software/arduino-simulink.html Arduino target> available on the MathWorks...

15 years ago | 0

Load more