Respondida
I am working in Matlab7.I want to know how to program a microcontroller (8051) in Matlab. how to generate hex code and how to deploy it.
You can use the <http://www.mathworks.com/products/matlab-coder/index.html MATLAB Coder> product to generate ANSI/ISO compliant ...

alrededor de 12 años hace | 0

Respondida
Simulink exportation in C/C++ : input array size
You can use signals of undetermined size in Simulink using <http://www.mathworks.com/help/simulink/ug/variable-size-signal-basic...

alrededor de 12 años hace | 0

Respondida
How to convert C++ simulations to Simulink?
To bring C++ code into Simulink, you need to create a C-MEX S-function wrapper so that it can be used like any other S-function ...

más de 12 años hace | 0

Respondida
Force Update a Block Output at Minor Time Steps
As far as I know, these blocks are internally configured to be <http://www.mathworks.com/help/simulink/ug/types-of-sample-time.h...

más de 12 años hace | 0

Respondida
Simulink - vary which part of a structure is accessed in a matlab function block (using a bus)
I think the only way this code might work is if the variable |which_force| is configured as a non-tunable parameter of the block...

más de 12 años hace | 0

| aceptada

Respondida
Command-duality is not supported to execute "mex -setup"
You are probably calling a function using the command syntax, instead of the function syntax. The former syntax is not supported...

más de 12 años hace | 0

Respondida
Simulink C2000 linux Error calling generated SFunction, trasf_sfun. Invalid MEX-file
During normal mode simulation, Simulink generates a MEX-file from Embedded MATLAB Function blocks for execution. The MEX-file ty...

más de 12 años hace | 0

Respondida
Generate DLL from Simulink model
You can use |ert_shrlib.tlc| if you have the Embedded Coder product to generate generic DLLs from your Simulink model. The relev...

más de 12 años hace | 1

| aceptada

Respondida
What is the advantage of defining a variable as workspace object?
Using just a regular variable allows you to define a value for a parameter. However, using a <http://www.mathworks.com/help/simu...

más de 12 años hace | 0

Respondida
Generation of an S-function block in simulink by integrating legacy C-code through the legacy code tool
Seems related to <http://www.mathworks.com/support/bugreports/661855 Bug# 661855>. A patch is available on that page.

más de 12 años hace | 0

| aceptada

Respondida
When using Variant Models is it possible to select a model at run time, instead of at compile?
No, Variant Subsystems cannot be selected at run-time. You need to use <http://www.mathworks.com/help/simulink/ug/about-conditio...

más de 12 años hace | 1

| aceptada

Respondida
How to indicate in MATLAB GUI when simulation in SIMULINK is complete?
You can use |get_param('sys','SimulationStatus')| to query when a model has finished simulation. This should return |'stopped'| ...

más de 12 años hace | 0

Respondida
Is there any way to conditionally trigger a subsystem having multiple sample time blocks in Simulink?
You might want to use an <http://www.mathworks.com/help/simulink/ug/enabled-subsystems.html Enabled Subsystem> and use the condi...

más de 12 años hace | 1

| aceptada

Respondida
Why MATLAB fn block and S function block are not supported for RTW code generation?
The <http://www.mathworks.com/help/simulink/slref/interpretedmatlabfunction.html Interpreted MATLAB Function> block is not suppo...

más de 12 años hace | 0

Respondida
Load a .dll file in Simulink
Yes, this should be possible. I would recommend that you first achieve the interface using plain MATLAB code. For help, see <htt...

más de 12 años hace | 0

Respondida
How to ensure generated code is compatible to the microcontroller?
Not sure exactly what you're asking here, but as described on the <http://www.mathworks.com/products/simulink-coder/description1...

más de 12 años hace | 0

Respondida
How to detect Enable/Trigger/Function call subsystem ?
It should be: en_ports = find_system(system_name, 'BlockType', 'EnablePort'); trig_ports = find_system(system_name, 'Blo...

más de 12 años hace | 1

| aceptada

Respondida
simulink pid tuning error
Perhaps it's related to <http://www.mathworks.com/support/solutions/en/data/1-69H204/index.html Why do I get an error about an I...

más de 12 años hace | 0

Respondida
How to use actxserver to open Excel 2010 Application Object? (Both Excel 2003 and 2010 installed)
MATLAB just starts up the version that is set up as the COM Automation Server with that Application ID, with the OS. You may wan...

más de 12 años hace | 0

Respondida
How realised analysis parametric with simulink?
This example demonstrates how you can do a parameter sweep for a Simulink model using Parallel Computing Toolbox: <http://www.ma...

más de 12 años hace | 0

| aceptada

Respondida
embedding an icon to mask in Simulink
I think you can package all dependencies such as the mask icon image into a <http://blogs.mathworks.com/seth/2011/09/02/simulink...

más de 12 años hace | 0

Respondida
Large RAM requirements for Simulink simulations
While this doesn't directly answer your question about why a large amount of RAM is being used, one solution for you might be to...

más de 12 años hace | 0

Respondida
how to create a simulink model of a room with a number of luminaires having seperate control to adjust brightness using pwm control
It sounds to me like this should be possible to model in Simulink. You can use Enabled Subsystems to turn the devices on/off.

más de 12 años hace | 0

Respondida
Run Older MCR Version on Windows
Is there a reason you want to use an older version of MCR? If you compiled with R2013b, you *must* use MCR 8.2. MCR 7.17 only wo...

más de 12 años hace | 0

| aceptada

Respondida
Loading Simulink library created in a newer version...
Is this library part of a MathWorks product, or your own? As long as it's not part of a MathWorks product, you can use File>Save...

más de 12 años hace | 0

Respondida
Delphi Calling Matlab dll
You may find this previous discussion useful: <http://www.mathworks.com/matlabcentral/answers/7124-delphi-and-matlab-dll Delphi ...

más de 12 años hace | 0

| aceptada

Respondida
Problems with MaskDisplay command
You can just execute what you're passing in as the third parameter to |set_param| to make sure that it's a string (and not a cel...

más de 12 años hace | 0

| aceptada

Respondida
How to compute data in simulink in an iteration save or update some variables and use in computation of next iteration?
You can use the <http://www.mathworks.com/help/simulink/slref/unitdelay.html Unit Delay> block to get the previous output value....

más de 12 años hace | 1

Respondida
what is kernel?what is Real-Time Windows ?????????????/
<http://www.mathworks.com/help/rtwin/ug/real-time-windows-target-kernel.html Real-Time Windows Target - Install Real-Time Kernel...

más de 12 años hace | 2

Respondida
Using Matlab Call CPLEX function
Please see the documentation section: <http://www.mathworks.com/help/matlab/matlab_external/invalid-mex-file-error.html Invalid ...

más de 12 años hace | 0

Cargar más