Réponse apportée
reuse C code in simulink
Also you can integrate your C code directly in Stateflow chart for Simulation. Check "Call Custom C Code Functions" on <http:...

presque 11 ans il y a | 0

Réponse apportée
How to use one matlab model for different variable in it using matlab script file or how can a m-file progrmming can use a already build model in simulink to run it multiple times?
doc sim You can sim command to run your model. To run multiple time, use command in loop or call it multiple times.

presque 11 ans il y a | 0

| A accepté

Réponse apportée
add_line or connect or other commands.
Check if there is any leading or trailing space in block names and remove the spaces. If still not working (mysteries Matlab...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
Close all messageboxes (generated by Simulink)
If title of the message box is same each time they are generated, then you can search the existing open figures by their name an...

presque 11 ans il y a | 3

| A accepté

Réponse apportée
Incremental code generation
Incremantal code generation is mode of code generation in which simulink generate code for those portions of the model that have...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Variables not displayed in WorkSpace.
In matlab every function has its own workspace which are diffrent from base workspace. Scope of the variables which are defined ...

presque 11 ans il y a | 0

Réponse apportée
Using D flip flop in simulink
<http://www.mathworks.com/help/simulink/sources.html Simulink Sources block>.

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Using Simulink data in Matlab GUI
<http://www.mathworks.com/matlabcentral/fileexchange/26308-simulink-gui-synchronization-example A basic guide here> If if is ...

environ 11 ans il y a | 0

Question


Problem in code generated for variant subsystem
Hello All. I need help for an issue regarding variant subsystem. I am using Matlab R2011b. My model has a variant subsyst...

plus de 11 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Changing Array Elements with logical indexing
B(B==8)=1000;

presque 12 ans il y a | 1

Réponse apportée
How Can I replace a Block by a model ?
See *<http://www.mathworks.in/help/simulink/slref/replace_block.html replace_block>* function.

plus de 12 ans il y a | 0

Réponse apportée
cell operattion double to uint8
A_InArrayFormat = cellfun(@uint8,A); A_InCellFormat = cellfun(@uint8,A,'UniformOutput',0);

presque 13 ans il y a | 1

Réponse apportée
How to make a variable available for two functions in scripting
See <http://www.mathworks.in/help/matlab/ref/global.html Declare global variables>

presque 13 ans il y a | 0

| A accepté

Réponse apportée
segmenation violatio error while simulating s function builder
*<http://www.mathworks.in/help/simulink/slref/legacy_code.html Legacy code tool>* is best the best way to integrate legacy C-co...

presque 13 ans il y a | 0

Réponse apportée
how to integrat matlab simulink model in a raspberry pi????
I am not sure whether simulink directly support Raspberry pi board. But you can generate the c code from your model using <ht...

presque 13 ans il y a | 1

A soumis


A short introduction on using model based design approach in Embedded System
This document is an introduction on using based model based design for embedded control systems.

presque 13 ans il y a | 1 téléchargement |

4.5 / 5
Thumbnail

Réponse apportée
How to initialize SimStruct from C code?
What is your C project ? Is it a embedded project ? s-function is matlab specific c code which uses lots of function from it ...

presque 13 ans il y a | 2

| A accepté

Réponse apportée
How can i generate programmatically an external hyperlink to open a subsystem within a local mdl from an external application?
Open and use matlab from other applocation using *<http://www.mathworks.in/help/matlab/com-interface.html COM Interface>*. O...

presque 13 ans il y a | 0

Réponse apportée
Seperating digits of an integer in Simulink
You can use normal *<http://www.mathworks.in/help/simulink/slref/divide.html divide>* and *<http://www.mathworks.in/help/simulin...

presque 13 ans il y a | 0

Réponse apportée
How can I convert MATLAB Code to VHDL Code?
Yes, Using <http://www.mathworks.in/products/hdl-coder/ HDL Coder> toolbox.

presque 13 ans il y a | 0

| A accepté

Réponse apportée
Simulink Coder- Post Processing
No need to call this command in configuration parameter. You can call the command simply form a m-file or from command window, k...

presque 13 ans il y a | 0

Réponse apportée
Combining Pushbutton and Program to Read CSV
When you create any variable in function, its scope is limited to the function workspace. In matlab, each function has its own w...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
problem generating audio file from "From File" block in simulink
To load workspace data using *From workspace* block, you data should be in time series format (A time series object OR array wit...

presque 13 ans il y a | 0

Réponse apportée
Stop a mask callback from being called to not display it
Instead of using MaskCallback, you can use blocks *<http://www.mathworks.in/help/simulink/ug/using-callback-functions.html#f4-45...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
how to compile matlab code in arduino
Matlab code can be converted into C/C++ using <http://www.mathworks.in/products/matlab-coder Matlab Coder> tool.

presque 13 ans il y a | 0

Réponse apportée
How to store all values resulting from loop
k1_stored = zeros(70,1); for k1=1:70 if(E_distym(k1)<30) disp(k1); k1_stored(kl) = k1; ...

presque 13 ans il y a | 1

| A accepté

Réponse apportée
How to share variables in different callback function?
function pushbutton1_Callback(hObject, eventdata, handles) handles = guidata(hObject); % Get gui data handles.x...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
reading input from workspace in simulink
Use a *Constant* block to import the complete matrix from workspace at once. Further use *<http://www.mathworks.in/help/simulink...

presque 13 ans il y a | 0

Réponse apportée
Substitute for Simulink.CustomSignal class
*Simulink.Signal* is equivalent to Simulink.CustomSignal.

presque 13 ans il y a | 0

| A accepté

Réponse apportée
interfacing of c program written in codeblocks to matlab
You can build your c code into mex file and call the mex file in matlab. Mex is the bridge between external programming language...

presque 13 ans il y a | 1

| A accepté

Charger plus