Réponse apportée
Import excel file into simulink
Simulink directly can not interact with excel file. Use a m-file to read the data from excel and pass this data to gain block...

plus de 13 ans il y a | 2

Réponse apportée
Replacing RTW types with actual C-style types
You can not replace the datatype names generated by embedded coder *with C-style* type names. But, if you don't like the type...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
what's the difference in stateflow update method?
Stateflow chart runs under simulink environment. Simulink invokes or triggers the blocks (in your case a stateflow chart) at par...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Importing .m code into simulink
Matlab language and simulink are meant for different purpose. Matlab is the programming environment used for analysis, plotting,...

plus de 13 ans il y a | 1

Réponse apportée
how to run java program in matlab
See <http://www.mathworks.in/help/techdoc/matlab_external/f44062.html Using Java Libraries from MATLAB> <http://blogs.math...

plus de 13 ans il y a | 0

Réponse apportée
How to upload Simulink model
It is not possible to upload model or any file on this forum directly. You can use any <http://www.google.co.in/search?q=free+fi...

plus de 13 ans il y a | 3

| A accepté

Réponse apportée
Having Trouble with enable/delay etc in Simulink
As I understood, you want to synchronise the ramp generation with the condition output so that every time *condition is enabled ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Using global structures in matlab functions block(Simulink)
AFAIK, it is not possible to use structure as the global data in matlab function block. Global data in matlab function block...

plus de 13 ans il y a | 2

Réponse apportée
conversion of P-file into m-file
Not possible. Ask the author of p-file for original m-file. See many similar previous posts. <http://www.mathworks.com/...

plus de 13 ans il y a | 1

Réponse apportée
Is there a way to save simulink models created R2012a (Windows 7) to Matlab 6.1, simulink 4.1?
<http://www.mathworks.in/help/toolbox/simulink/ug/f2-82897.html#f2-86382 Saving a Model in an Earlier Simulink Version>

plus de 13 ans il y a | 2

Réponse apportée
Effect of using Goto-From blocks on simulation time .
*Goto* and *From* blocks are *<http://www.mathworks.in/help/toolbox/simulink/ug/f13-88939.html#f13-82250 Virtual blocks>* which ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Subsystem cannot be defined to be a periodic function-call block because it has an asynchronous rate?
Configure your function-call subsystem as *triggered* instead of periodic. Read *Function-call subsystems* <http://www.math...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Extracting a response time in simulink
Ok, I think you need <http://www.mathworks.in/help/toolbox/simulink/slref/clock.html Sources\Clock> block. It gives the simul...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
simulink and guide interface
You can save the simulation data to base workspace using *To Wokspace* block and plot it using matlab command after simulation i...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Making a S-Function from a Matlab script
mdlName = 'YourModelName'; % Set the s-function target set_param(mdlName,'SystemTargetFile','rtwsfcn.tlc'); %...

plus de 13 ans il y a | 2

Réponse apportée
adding a delay between commands to a program
See <http://www.mathworks.in/help/techdoc/ref/pause.html pause> function. But <http://www.mathworks.in/help/techdoc/matlab_pr...

plus de 13 ans il y a | 0

A résolu


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

plus de 13 ans il y a

Réponse apportée
How can I Read or get the Values one by one from matrix variable or array?
for x=1:length(YourMatrix) if YourMatrix(x)==0 % Operation elseif YourMatrix(x)~=0 % Operation e...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
how can i set deffirent path directory for specific S_funtion block?
AFAIK, it is not possible to set the mex file name *with directory path* in a s-function block. You can place all the mex fil...

plus de 13 ans il y a | 3

| A accepté

Réponse apportée
How can I choose the workspace destination ?
To load all the variable *from m-script* to base workspace evalin('base','filename'); See <http://www.mathworks.in/help/...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Using embedded function block to find differential
As per your requirement function dB=fcn(B) persistent Bprev; if isempty (Bprev) Bprev = B; d...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
create a real sawtooth in simulink
You can create your own generator block using simulink block logic, stateflow, s-function or embedded matlab function. See si...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
how to execute string variable?
xxx = strcat('x0=5;','a=2;','c=x0+a;'); eval(xxx);

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Generating code for a subsystem accepting structure parameter
I think problem is due to you are using _*multi-level* (a few fields of the structure are themselves structures)_ structure. ...

plus de 13 ans il y a | 1

Réponse apportée
How to retrieve a matched element or a number in lookup table
TrigTable = [ 0 0 1.0000 30.0000 0.5000 0.8660 45.0000 0.7070 0.70...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Why can I set the data parameter of a Fromworkspace block by programming ???
set_param('BlockPath','VariableName','VariableNameHere');

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
how to load variables in the workspace
If you are loading mat file *from m-script* load('YourMatFileWithFullPath.mat'); And, If you are loading mat file *fro...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
get simulink outputs data from guide interface.
You can use *event listener* to communicate between simulink and GUI in real time (when the model is running). Using this method...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How can I import data from workspace to GUI?
*In Base workspace* MyStruct.Data = [1 2 3 4 5]; MyStruct.OtherData = 0; *In GUI's function* MyStructHere...

plus de 13 ans il y a | 4

| A accepté

Réponse apportée
IDE With information about processor board which can be used for Matlab-Simulink 2012
Matlab/Simulink directly supports <http://www.mathworks.in/academia/hardware-resources/ these> hardwares/boards. You can star...

plus de 13 ans il y a | 0

Charger plus