답변 있음
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...

12년 초과 전 | 1

답변 있음
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...

12년 초과 전 | 0

답변 있음
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.

12년 초과 전 | 0

답변 있음
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.

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 1

| 수락됨

답변 있음
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.

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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 ...

12년 초과 전 | 0

| 수락됨

질문


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...

12년 초과 전 | 답변 수: 1 | 1

1

답변

답변 있음
how to read complicated text file
use textscan with delimiter '|' FileObj=fopen(FileName); CellData=textscan(FileObj, ... '%s %s %s %s %s %s %s %s ...

12년 초과 전 | 0

답변 있음
Error in exporting values using xlswrite
Do you have MS Excel installed? look at this link please.. http://www.mathworks.in/matlabcentral/answers/21477

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
Executable or Matlab App from Simulink+GUI
You would still need mcr (matlab compiler) to share a GUI executable created out with MATLAB GUIde.

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
How to create new variables
do you mean to do eval('x=0')?

12년 초과 전 | 0

답변 있음
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 ...

12년 초과 전 | 0

답변 있음
int64 in simulink / stateflow?
Matlab supports int64 whereas Simulink/Stateflow does not. Workaround will be to use two int32 variables. so your expect...

12년 초과 전 | 0

답변 있음
how to read this file in matlab?
You can read the .tim file using FileObj=fopen(FileName); FileData=textscan(FileObj, ... '%s .....', 'deli...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

| 수락됨

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 1

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 1

답변 있음
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...

12년 초과 전 | 0

답변 있음
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...

12년 초과 전 | 0

답변 있음
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.

12년 초과 전 | 0

답변 있음
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), ...

12년 초과 전 | 8

| 수락됨

답변 있음
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...

12년 초과 전 | 1

더 보기