Question


open_system modality
Hello all, I have a script that opens up simulink block properties by using open_system. I want the script to wait till the use...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Using xlsread values from column P and forward
What kind of data do you have in your excel file? xlsread can have three outputs, numbers, text and raw. Which of it are you us...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Liberal Use of GoTo/From Blocks
You may read more here. <https://stackoverflow.com/questions/20204253/in-simulink-are-goto-and-from-blocks-generally-cons...

presque 8 ans il y a | 0

Réponse apportée
Difference between "Host Target" and "Embedded Target"
Host Target means you build your code and code runs on your PC. (This is normally done as a prevalidation step) before you take ...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Matrix size exchanges between Matlab and Excel
It is possible. read help xlsread help xlswrite

presque 8 ans il y a | 0

Réponse apportée
For-loop, inserting loopcount into string output
disp(['Error in row ', num2str(i)]);

presque 8 ans il y a | 0

Réponse apportée
How can I get the measurements of the simulink block by m program file?
https://in.mathworks.com/help/simulink/ug/accessing-block-data-during-simulation.html

presque 8 ans il y a | 0

Réponse apportée
How do I do a For Loop with two variables?
Then you dont need two for loops. for i=1:41 j=i; ....do something ... end By the way, i and j are po...

environ 8 ans il y a | 0

Réponse apportée
Set step time in Simulink
You have set the solver? set_param('Solver', 'FixedStepDiscrete');

environ 8 ans il y a | 1

Réponse apportée
How to callback variable and command in any function using App Designer
set the mmc to the app object in the startup function. In other functions you can use the app object. % In startup functio...

environ 8 ans il y a | 0

Réponse apportée
How does one implement context menus within the Matlab App Developer?
As of 16B atleast, appdesigner doesn't have a context menu option. https://in.mathworks.com/help/matlab/creating_guis/choose-co...

environ 8 ans il y a | 1

Réponse apportée
How to set SignalBuilder options (zero-crossing) programatically?
It is not directly possible. But some workarounds exists. https://in.mathworks.com/matlabcentral/answers/25824-is-possible-to...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
MATLAB to python conversion
I have used libermate for matlab to python conversion. It is awesome! <https://github.com/awesomebytes/libermate>

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Need a code to run through subfolders and store information
A good example at the end of this post! http://www.matlabtips.com/recursive-functions/

environ 8 ans il y a | 1

Réponse apportée
i am trying to enter data into an excel spreadsheet through matlab by prompting the user to enter string . The next data doesn't go to the next row in the spreadsheet
Your xlrange should contain information regarding row number. For example instead of xlrange = 'A:C'; use xlra...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How to get meeting timing from outlook calendar for a particular day?
You may use Calendars.Items.GetFirst, Calendars.Items.GetNext, Calendars.Items.GetLast etc. Example: ...

environ 8 ans il y a | 0

Réponse apportée
Retrun largest numbers?
>> [~, idx] = sort(A); >> B = A(sort(idx(end-2:end))))

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How can I ask the user to input units of either m or in, then have the program keep asking them for units until they input either m or in?
disp('Choose the Unit.'); disp('[0] Inches.'); disp('[1] Metres.'); iChoice=input('Please make a ...

environ 8 ans il y a | 0

Réponse apportée
Can I use your Model Base Design for designing humanoid robots?
Model based Design/Software development is just a design/development methodology. It has many advantages including early valida...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to let MATLAB choose a file in a path if the user enters the first letters belonging to the file?
I would use dos dos(['dir /b /s ','ID*.jpg']) This returns a string, which you can then parse by new line character. ...

environ 8 ans il y a | 0

Réponse apportée
How to get the answer?
I have just reused your function. function homework() arrRadius = [5,3.5,6];%Random radii arrArea = zeros...

environ 8 ans il y a | 0

Question


CLIs/APIs to add comments to Polyspace report
Hello all, I have an usecase where I as a SW integrator run PolySpace Code Prover(R2016B) on the full software. There are many ...

environ 8 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
How to combine multiple excel files with multiple spreadsheets of data into one
doc xlsread doc xlswrite

environ 8 ans il y a | 0

Réponse apportée
Is it possible to customize Simulink block parameters and take them as default?
I think, this is one simple tool you can use. https://in.mathworks.com/matlabcentral/fileexchange/30248-add-simulink-blocks-f...

environ 8 ans il y a | 0

Réponse apportée
how to save the output into a seperate folder for the program in the matlab
What is your output (is it some data or is it already a file . If it is data, what does it contain)? What format do you want to ...

environ 8 ans il y a | 0

Réponse apportée
Variable disappears when using it
Your var1 is in base workspace. So if your code is a Function, the var 1 is not available to the function because the function ...

environ 8 ans il y a | 0

Réponse apportée
model is closing for each run
Check the model Callbacks of the model specifically CloseFcn , https://in.mathworks.com/help/simulink/ug/model-callbacks.htm...

environ 8 ans il y a | 0

Réponse apportée
How to add custom check to a Model Advisor?
I think below documentation is great. https://in.mathworks.com/help/slcheck/examples/add_custom_ma_checks_tasks_callbacks.htm...

environ 8 ans il y a | 0

Réponse apportée
Good day. Please what is the difference between a script file and a function file, and in which case or situation is either one preferred above the other?
Generally Functions are better because they have defined interfaces do not interfere with base workspace unless explicitly coded...

environ 8 ans il y a | 0

Réponse apportée
Add zeros to matrices same as length of another matrix
bold1 = [bold1, zeros(360,2);zeros(9,5)]

environ 8 ans il y a | 0

Charger plus