답변 있음
How to run simulink model from gui written in script?
Try this, _set_param()_ expect the value in string. So convert the value of i to string then pass it to _set_param()_. fo...

대략 13년 전 | 0

| 수락됨

답변 있음
how can i sample a measured voltage signal in simulink and know the sampled value of each sample to calculate RMS of the voltage signal.
Reefer a similar question <http://www.mathworks.de/matlabcentral/answers/55862-if-i-want-to-read-the-different-values-from-a-sig...

대략 13년 전 | 0

답변 있음
How to change the sample time?
It is not possible to log the same signal with different sample time. For your case use lowest sample time (0.1 sec) to log the ...

대략 13년 전 | 0

답변 있음
If i want to read the different values from a signal at different instance of time generated by the scope from simulink. How to do it?
Save your scope data on base workspace by enabling option *Scope Parameters > History > Save data to workspace* with *Foramat = ...

대략 13년 전 | 0

답변 있음
Can I have a bus whose elements are buses with several dimensions?
To create the structure in c code you need to create non-virtual bus. You can create 4 the non-virtual buses (RPO_corners) w...

대략 13년 전 | 0

| 수락됨

질문


Intialization of local variables in model_step() function
Is it possible to initialize the local variables (with zero or with any value) in _model_step()_ function in the code generated ...

13년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to separate the integer value of a real number
A = cellfun(@(x)(fix(x)),A,'UniformOutput', false)

13년 초과 전 | 2

답변 있음
Creation of C file S-function using S function builder
Go with <http://www.mathworks.in/help/simulink/sfg/integrating-existing-c-functions-into-simulink-models-with-the-legacy-code-to...

13년 초과 전 | 1

답변 있음
What tool kit do i need to create links between Simulink and DOORS?
You need separate *Simulink Verification and Validation* toolbox for <http://www.mathworks.in/discovery/requirements-traceabilit...

13년 초과 전 | 3

| 수락됨

답변 있음
How do I Display a Library in the Library Browser?
*Matlab path* means, the path in which your library model & slblocks.m resides should be in <http://www.mathworks.in/help/matlab...

13년 초과 전 | 1

답변 있음
mex-set up error in matfunction simulink
Run command >> mex -setup on your command window. It will list all matlab supported c/c++ compiler installed on your com...

13년 초과 전 | 0

답변 있음
How to connect to IF and IFACTION blocks programmatically
% Get If block port handles If_ph = get_param('If block path','porthandles'); % Get If action block port handles Acti...

13년 초과 전 | 1

| 수락됨

제출됨


Simulink block set for Gtkwave : An alternative of simulink scope.
Simulink blockset to display the simulation data from simulink on GTKWave

13년 초과 전 | 다운로드 수: 3 |

0.0 / 5
Thumbnail

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

13년 초과 전

답변 있음
Vector Element Update in Simulink
Split your matrix in different part, alter the part which you want, then Concatenate all parts again in one matrix. In your c...

13년 초과 전 | 1

답변 있음
How to I give a title and axes names to the graph generated by the XY Graph Block In Simulink
Unfortunately there is no option to automatically set the axes labels or name in figure generated by simulink X-Y graph. Howe...

13년 초과 전 | 3

| 수락됨

답변 있음
Modifying the Simulink Display Block
You can change the font of display text. Right click on display >> Format >> Font >> Select smaller font size. Also you c...

13년 초과 전 | 3

| 수락됨

답변 있음
How to create a sawtooth signal inside an S-function ?
*A simple demonstration:* # Drag a S-function builder block in the model. # Configure S-function having only 1 output (y[0])...

13년 초과 전 | 2

| 수락됨

답변 있음
Can i able to access value from Data store memory in Embedded Matlab Function
In version R2007b, using global variable in Matlab function (or Embedded matlab function) is not supported. You can simply re...

13년 초과 전 | 1

| 수락됨

답변 있음
Add start / stop button in standart simulink scope?
It is not possible to add any button on simulink scope. Instead you can design your own GUI having graph, buttons etc. You ca...

13년 초과 전 | 0

답변 있음
Is it possible to write a script to automatically replace all S-Functions in a model with their counterpart Simulink Blocks?
Try only replace_block('ModelName','S-Function','Mux','noprompt'); It will replace all S-Function blocks in the model wi...

13년 초과 전 | 0

| 수락됨

답변 있음
Funny situations while helping others on MATLAB Answers
The situation in <http://www.mathworks.in/matlabcentral/answers/47343-matlab-interfaces-access-simulation-time this thread>. ...

13년 초과 전 | 4

답변 있음
Can I display the simulink scope in a GUI?
Log your data coming in the simulink scope to base workspace and plot the data in your gui after simulation. To enable the sc...

13년 초과 전 | 3

답변 있음
trigger block in simulink
*[Edited]* Please see the model snapshot below: <<http://i47.tinypic.com/o04fhf.jpg>>

13년 초과 전 | 0

| 수락됨

답변 있음
Simulink does not support loading the input data in file
<http://www.mathworks.in/help/toolbox/simulink/slref/fromfile.html From File> block not supports Version 7.0 or earlier mat-file...

13년 초과 전 | 6

| 수락됨

답변 있음
HOW CAN I LEARN MEX-FILES
<http://www.mathworks.in/support/solutions/en/data/1-A4Z48H/index.html?solution=1-A4Z48H How to Create Basic MEX-functions in CM...

13년 초과 전 | 1

답변 있음
Simulink performance regarding virtual and non-virtual buses
Non-virtual buses allocates the memory for the inputs as compare to virtual buses which are just graphical representation and do...

13년 초과 전 | 2

| 수락됨

답변 있음
Matlab Interfaces. Access Simulation time.
% To read values from the model MdlStartTime = get_param('YourModelName','StartTime'); MdlStopTime = get_param(YourModel...

13년 초과 전 | 3

답변 있음
How to reset a stateflow state machine on external event?
AFAIK, there is no such provision in stateflow. But you can design your stateflow chart logic with an external trigger input in ...

13년 초과 전 | 1

| 수락됨

답변 있음
SIMULINK model error with 'to file'
Seems that you don't have write access to the directory in which mat-files are being written. Open the Matlab as admin try again...

13년 초과 전 | 1

더 보기