Réponse apportée
Save Excel cell range as image with activeX
Range.CopyPicture method (Excel)

environ 7 ans il y a | 0

Réponse apportée
Getting out of while loop when user says end
Use isequal(answer,'Yes') or strcmp(answer,'Yes') 'Yes'=='No' will cause the problem.

environ 7 ans il y a | 0

| A accepté

Réponse apportée
Defining Matlab function datatype input in Simulink
In the MATLAB Funciton editor, click icon "Edit Data". Or in Simulink, Ctrl+H to open Model Explorer, on the left column, navig...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
How to define a variable as an integer that's equal to or greater than zero?
rem(struct_idx,4)==1

environ 7 ans il y a | 0

Réponse apportée
How to programmatically name blocks when creating a model
handle=add_block(...); set(handle, 'Name','YourBlockName'); Make sure the name is unique though. If not, find a way to make it...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
How can I transfer specific values to a new variable?
z(y==1)?

environ 7 ans il y a | 0

Réponse apportée
Error in port widths or dimensions.
The Outport block "Out1" in "PI Controller" is connected to a BusCreator (or Mux) block. It contains two signals. That might be ...

environ 7 ans il y a | 0

Réponse apportée
cant find the mistake here
The mistake is that you need to insert this line as the first line inside your function. v=[];

environ 7 ans il y a | 0

Réponse apportée
why does appear this error: "Unable to open file 'C:\Users\jonat\Desktop\Clean\~$2019-04-26 Clean.xlsx'?
The name "~$2019-04-26 Clean.xlsx" indicates it is a temporary file. Is the file opened or edited by another program or by the c...

environ 7 ans il y a | 0

Réponse apportée
Finding approximate y values for corresponding x values in matlab
interp1(x,y,3.1,'nearest')

environ 7 ans il y a | 2

| A accepté

Réponse apportée
How to access used variables in a specific state in stateflow
Create and Access Charts Using the Stateflow API

environ 7 ans il y a | 0

Réponse apportée
sldiagnostics counts subsystems which are not visible
When Simulink compiles or updates the model, it went through many steps. I have a guess on what "Pre-compile post-eval notifies"...

environ 7 ans il y a | 0

Réponse apportée
Is Walter Roberson a real person, or is he some kind of Matlab AI robot?
Ha Ha Ha, a good question! I would say a robot, but I bet Walter Roberson would say otherwise.

environ 7 ans il y a | 1

Réponse apportée
How to set datetime for every 9.9156 days?
t2= datetime(1994,1,1,0,0,0,'TimeZone','GMT+8'); t:days(9.9156):t2

environ 7 ans il y a | 1

| A accepté

Réponse apportée
How to get used Matlab Workspace variables within Simulink model
Simulink Data Dictionary has the capability. You can migrate your workspace variables to a Simulink Data Dictionary. When you do...

environ 7 ans il y a | 0

Réponse apportée
How to make Simulink run the entire model just once?
Each MATLAB function block will be executed once for every simulation step. Inside the MATLAB function block, there could be loo...

environ 7 ans il y a | 0

Réponse apportée
How can I unload an automatically generated .dll file?
try "clear functions"?

environ 7 ans il y a | 0

Réponse apportée
How to dynamically construct a matrix of functions ?
I think you can make the matrix using M1=vertcat(blkdiag(JcX1,JcX2), blkdiag(JcX3,JcX4), ...) M2=blkdiag(vertcat(JfX1,JfX2),...

environ 7 ans il y a | 1

Réponse apportée
How can I plot pre-calculated y and x values against each other in a simulink graph that is not dependent on time?
The "XY Graph" block might be used.

environ 7 ans il y a | 0

Réponse apportée
Execute functions only when there is a specific State transition in Stateflow
Use Transition Action

environ 7 ans il y a | 0

Réponse apportée
Get signal name at inport of subsystem
The first case truely has the signal name. You can get it like below. In second case, you need to get the name of the Constant. ...

environ 7 ans il y a | 2

| A accepté

Réponse apportée
Textscan to convert ASCII file to mat file
You need to skip two headerlines not to specify 'Delimiter' as '\t' carefully specify the format to match the file. I got...

environ 7 ans il y a | 0

Réponse apportée
Keeping plot titles in desired location
title_obj.Position; title_obj.Position=[You Value Specified Here]

environ 7 ans il y a | 0

| A accepté

Réponse apportée
How can I logically index 3 conditions in a loop
and(or(d(:,1)==3, d(:,1)==4),d(:,2)==1)

environ 7 ans il y a | 2

| A accepté

Réponse apportée
Remove rows from a matrix by considering repeated elements of the first column.
unique(A,'rows')

environ 7 ans il y a | 0

| A accepté

Réponse apportée
HI, is there any built in function in MATLAB to check, if all the elements in cell array or double array are same or not
something like this flag=numel(unique([fck1{:}]))==1

environ 7 ans il y a | 1

| A accepté

Réponse apportée
How can I which value that be used to calculate a function
You need to run min() twice A=magic(5); [MinInCol,RowIndex]=min(A); [MinValue,ColIndex]=min(MinInCol); Position=[RowIndex(Co...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
Generate time sequence with 15 minutes step time
t1:minutes(15):t2

environ 7 ans il y a | 1

| A accepté

Réponse apportée
How do I link extern variables and stateflow input when using custom c code?
follow this demo model Including Custom C Code Functions and Structures

environ 7 ans il y a | 0

Réponse apportée
How to bound discrete integrator outputs
When the saturation happends, it should not reset to zero. It should reset to "Value-2*pi". Don't enable "Limit output" at thi...

environ 7 ans il y a | 1

| A accepté

Charger plus