Réponse apportée
Cell array and cell structure
Hi cwc, Nothing is Weird. According to MATLAB W is a cell array. and ['Oxygen',15.9994] is the first member of the cell array. A...

plus de 12 ans il y a | 1

Réponse apportée
Time based function simulink....
Are your output values discrete? I mean 1 and 0 only? In this case you can use a stateflow with two states 'on' and 'off' and a...

plus de 12 ans il y a | 0

Réponse apportée
GUI Edit Text Autocomplete?
As far as i see, you should either do it the way Vishal says. Otherwise, You have to use Dynamic Java methods.

plus de 12 ans il y a | 0

Réponse apportée
How can I speed-up the ''write, read and save'' of an excel file from matlab?
use ActiveX to write and read instead of xlswrite and xlsread respectively.

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Dear All user, please Help me
What you ask is what you get here(WYAIWYG).. Please rephrase question and add more details. Is it about the code or logic or har...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
how to check status of any signal for predefined time in simulink?
You can use a scope or make assertion blocks with set dynamic ranges.

plus de 12 ans il y a | 0

Réponse apportée
problem of applying im2bw function
I do not know abc of im2bw. But based on my knowledge of digital images, if its an 8 bit bw, image then subtract the image matri...

plus de 12 ans il y a | 0

Réponse apportée
How to detect data type of Inport/Outport Signals of SIMULINK model via MATLAB code
to filter out Inports and outports you can use find_sys() and to get their data types, for every inport or outport block use ...

plus de 12 ans il y a | 0

| A accepté

Question


Is mlappinstall backward compatible?
1. I found some apps in mlappinstall format at MATLAB File Exchange. I understand that this was introduced recently (2012b or 20...

plus de 12 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
how to read complicated text file
use textscan with delimiter '|' FileObj=fopen(FileName); CellData=textscan(FileObj, ... '%s %s %s %s %s %s %s %s ...

plus de 12 ans il y a | 0

Réponse apportée
Error in exporting values using xlswrite
Do you have MS Excel installed? look at this link please.. http://www.mathworks.in/matlabcentral/answers/21477

plus de 12 ans il y a | 0

Réponse apportée
I want to load my workbook into Microsoft Excel activexcontrol (Microsoft Office Spreadsheet 11.0) using GUIDE.
You can do an xlsread and then display the data in t...

plus de 12 ans il y a | 0

Réponse apportée
Executable or Matlab App from Simulink+GUI
You would still need mcr (matlab compiler) to share a GUI executable created out with MATLAB GUIde.

plus de 12 ans il y a | 0

Réponse apportée
Generate a table in Matlab GUI (matlab 7.0.1)
Insert a uitable in your GUI by name say TableDemo. then read data from xls like you have done, p1 = xlsread('C:\Documents...

plus de 12 ans il y a | 0

Réponse apportée
How to create new variables
do you mean to do eval('x=0')?

presque 13 ans il y a | 0

Réponse apportée
How can i pause an engaged PID controller while i am running a simulation? How can i start and reset a subsystem at a given time?
You want to pause the simulation using code? If yes, you can use set_param(bdroot,'SimulationCommand','pause') then ...

presque 13 ans il y a | 0

Réponse apportée
int64 in simulink / stateflow?
Matlab supports int64 whereas Simulink/Stateflow does not. Workaround will be to use two int32 variables. so your expect...

presque 13 ans il y a | 0

Réponse apportée
how to read this file in matlab?
You can read the .tim file using FileObj=fopen(FileName); FileData=textscan(FileObj, ... '%s .....', 'deli...

presque 13 ans il y a | 0

Réponse apportée
Hi, guys, I am trying to create a MATLAB Subrountine, but I faced some problems. My code is not working, and I don't know what is wrong with it.
Did you write your function in command window? Unlike python, MATLAB does not let you write a function in its command window. So...

presque 13 ans il y a | 0

Réponse apportée
In simulink, how to generate a square wave using an external source as frequency?
you can use a normal Pulse generator block in Simulink and use set_param command to set any of the parameters like Amplitude, Pe...

presque 13 ans il y a | 0

| A accepté

Réponse apportée
if i give maximum value to the check box means some function will be done , otherwise nothing will be do, how to do?
say you have function1(), and function2(). Checkbox1CallBack() global Firstcallbox_Value; Firstcallbox_Value=g...

presque 13 ans il y a | 0

Réponse apportée
Saving a figure in GUI
get the handle of the figure and do a saveas call. eg: saveas(h,'filename','format') format can be any image format or...

presque 13 ans il y a | 0

Réponse apportée
What's the problem in my loop?
Matlab Matrices do not have indices starting at 0. There is nothing like A(0) in MATLAB (But it is so in C or Python though). T...

presque 13 ans il y a | 1

Réponse apportée
Problem in logging data in simulink
to workspace will work definitely. Check the name you give for the workspace variable(double click to Workspace) and run simulat...

presque 13 ans il y a | 0

Réponse apportée
Problem in function handling using callback functions GUI
Hello, there are three ways to handle this. 1. Place your logic of my_function() inside the Button Call back function as David...

presque 13 ans il y a | 1

Réponse apportée
Hello, I'm looking to have a static text or edit text box change it's value depending on what I put in for the other edit text boxes in a GUI
You can do a Get the value from the first Text Box every time it is edited by using edit Call Back function using RecievedS...

presque 13 ans il y a | 0

Réponse apportée
Can I use Matlab to design a GUI without relying on a toolbox?
You don't need any additional tool boxes. Use GUIDE and you can write your own logics for callback functions. Though, I sho...

presque 13 ans il y a | 0

Réponse apportée
How can convert .mdl to .m
You need not convert to m file, then to p code. For your needs, converting the subsystem to Masked sub system will be enough.

presque 13 ans il y a | 0

Réponse apportée
Using 'disp' function with variables
disp() takes only one argument. To accomplish what you need, do disp(['There is an ice rule violation at: (', num2str(xd), ...

presque 13 ans il y a | 8

| A accepté

Réponse apportée
Save matlab output in textfile
Easier way is to use diary function. diary on Print everything on the command window using disp, and let diary take care o...

presque 13 ans il y a | 1

Charger plus