Réponse apportée
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 ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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 ...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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.

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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'| ...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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.

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

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

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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....

plus de 12 ans il y a | 1

Réponse apportée
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...

plus de 12 ans il y a | 2

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

plus de 12 ans il y a | 0

Charger plus