Réponse apportée
I have signal name which is stored in one variable and I want to make that signal as simulink object, could you please help me to create the object
eval([B{1,1},'=mpt.Signal;']); or mptsignal=mpt.Signal; assignin('base',B{1,1},mptsignal)

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Using two vectors to get the third one
a=[0 1 4 7] b=rand(size(a)) c=0:23 d=nan(size(c)) d(a+1)=b

presque 7 ans il y a | 1

Réponse apportée
I can't open configuration parameter in simulink
Remove that "C:\WINDOWS\system32" from your MATLAB path. It was trying to call the built-in "ver" function but your have ver.dll...

presque 7 ans il y a | 0

Réponse apportée
Model Compilation Through M-Script
sort_slx_files(i).name is a string, that is the cause of the error. use eval([sort_slx_files(i).name,'([],[],[],''compile'');']...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to display Subsystem Input Port Number in Simulink
This might be close. Right click the Subsystem block, click "Signals & Ports"

presque 7 ans il y a | 0

Réponse apportée
Simulink change detection from MATLAB
Right click this "From Workspace" block in your model, select "Properties", select the "Callbacks" panel, select the "CopyFcn" i...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to find unused parts of a simulink model?
Simulink Coverage might be able to help.

presque 7 ans il y a | 0

Réponse apportée
Simulink Configuration - Diagnostics - Stateflow - Unexpected Backtracking
It applies to both chart with states or chart of "ladder logic". It is looking at a junction Does not have an unconditional tr...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to save data to existing text file with old data
I guess the key point is to use fid=fopen('FileName','a+t'), open or create file for reading and writing; append data to end of ...

presque 7 ans il y a | 1

Réponse apportée
How to validly change a value with unit C to a value with unit K in simulink 2019a?
Use the Unit Conversion Block

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Adding state flow blocks in simulink models automatically
Create Charts by Using the Stateflow API

presque 7 ans il y a | 0

Réponse apportée
how to regenerate .p code when I DO have the original .m file?
In the directory of RequestGUI.m, run pcode RequestGUI and then copy the RequestGUI.p file See "doc pcode" for more info.

presque 7 ans il y a | 0

Réponse apportée
TUV-SUD certificate
You can search and find it at TUV SUD website. https://www.tuev-sued.de/product-testing/certificates

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Given an nxn matrix A, how do I produce a lower triangular matrix with ones on the diagonal?
tril(A,-1)+eye(n)

presque 7 ans il y a | 0

Réponse apportée
Limit the chaning rate of a signal
Use the Simulink Rate Limiter block.

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How can I change the values of edit boxes in a mask?
Just use get_param(gcb,'BC') set_param(gcb,'BC','1');

presque 7 ans il y a | 1

| A accepté

Réponse apportée
slprj folder gets too large
You can just delete the \slprj folder. It could be that the folder has accumulated many temparory files for many models for a lo...

presque 7 ans il y a | 0

Réponse apportée
Copy Figure in high quality
In my experience, using Metafile (or sometimes called enhanced metafile) has better quality shown in Word and later in PDF file....

presque 7 ans il y a | 0

Réponse apportée
could anyone help me how to group the numbers into sets
How do you want to group your sets? See the help or doc of mat2cell. There are examples. You should be able to figure it out.

presque 7 ans il y a | 0

Réponse apportée
Start Simulink Model with App Designer and run simultaneously
f14; set_param('f14','SimulationCommand','start'); set_param('f14','SimulationCommand','stop')

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How can we set parameter values like Minimum or Maximum for a Slider and bind it to a tunable block like a Constant, using matlab commands?
"abc" marks the string data type, which is introducted in R2016b. You can just use 'Binding' in R2015b.

presque 7 ans il y a | 1

Réponse apportée
How can I use Bus creator signal and Memory Block with initial conditions together?
"LettersBus" here is just a signal label, or the name of the bus. You can't assign it as the initial condition of the Memory blo...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Port Width or Dimension Error: Signal wire adding an additional element in a simulink
Check the dialog of the Mux block. It could be specified as [1 2]. Change it to be 2.

presque 7 ans il y a | 0

Réponse apportée
Simulink S-function builder reading inputs
"u" is usually referred as inputs, "y" is usually referred as outputs. You need to go through the S-Function Builder Dialog Box...

presque 7 ans il y a | 0

Réponse apportée
Recursively save referenced models
Try option 'SaveDirtyReferencedModels' doc save_system

presque 7 ans il y a | 0

Réponse apportée
Can't open example openExample('stats/TrainARegressionEnsembleExample')
You need to have the "Statistics and Machine Learning Toolbox". Run "ver stats" to check

presque 7 ans il y a | 0

Réponse apportée
How to write a Questions that requires Yes or No asnwer
You need to wrap the code in a function so you can use "return" to terminate the program based on the input. function test wa...

presque 7 ans il y a | 0

Réponse apportée
Matrix function [row:column] help
It must mean to be RowColumn = [row,column]

presque 7 ans il y a | 0

Réponse apportée
May be a Phishing Mail received?
GetFeedback Inc. was accquired by SurveryMonkey. Both are legit companies providing online survery services. However, someone ...

presque 7 ans il y a | 0

Réponse apportée
How to write a Questions that requires Yes or No asnwer
wall ='Y' while wall == 'Y' building_id = input('Enter the building ID >', 's'); wall = input('Enter a Wa...

presque 7 ans il y a | 0

Charger plus