Community Profile

photo

Mark Golberg


Last seen: 29 days ago Active since 2020

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


How to remove specific node in XML file?
Hello, please see my "xml_sample.txt" file attached. I have 4 IP nodes (4 IP lines). I'd like to remove the last 2, so my new f...

1 year ago | 1 answer | 0

1

answer

Question


How to store char to a text file?
Hello, I have the input text I want to save into a *.txt file. Please see an example is in the included mat file. It looks l...

1 year ago | 2 answers | 0

2

answers

Question


How to find the weight of PC_1 in my measurements, after doing PCA?
Hi, I'm trying to use the following code to understand PCA , SVD and it's releation: % PCA_vs_SVD (my sand_box) %% generate...

1 year ago | 1 answer | 0

1

answer

Question


How to find text structure within string array?
Hello, please see below an example of file names I have: "moose_0_-1_6_Coordinates-8580_138864_ 30-01-21_17-48-22_0.xml" I'...

1 year ago | 2 answers | 0

2

answers

Answered
How can I get the full path of my current *.mlapp file?
if isdeployed % User is running an executable in standalone mode. [~ , result] = system('set PATH'); executableF...

2 years ago | 1

| accepted

Question


How to replace data in an existing XML file?
Hi, I have an XML file. It looks like in the attached pic. As you can see, in action Name "m1" there are 2 cols: "fish_1" & "f...

2 years ago | 0 answers | 0

0

answers

Question


How can I get the full path of my current *.mlapp file?
Hi I'm building a gui via App Designer. I'd like to specify a path of an XML file. I'd like it to be relative to my main *.mlap...

2 years ago | 2 answers | 0

2

answers

Question


How can I read dat file into table/cell?
Hello, how can I import the attached file into MATLAB workspace to have a "normal" table and/or cell? THANKS, Mark

2 years ago | 2 answers | 0

2

answers

Question


How to avoid code error when compile stand alone utility
Hello, I'm trying to compile a Stand Alone Utility. Source code is based on folders tree with many layers and functions (it's...

2 years ago | 1 answer | 0

1

answer

Question


How can I know which files are being used by my compiled GUI?
Hello, I've created a uitility via App Designer, and compiled an exe version for my colleagues to use it as well. The utiliy c...

2 years ago | 1 answer | 0

1

answer

Question


How to get Matlab stop on my file upon error?
Hi, in old Matlab version I could use "stop on error" under "Run" commend. Execution would stop prior to executing a command th...

2 years ago | 2 answers | 1

2

answers

Question


How to find specific text in a string?
Hello, I have the following text: "abs(3).def(5).hhh(11)" Is there an easy way for search for all the locations with "(" - nu...

2 years ago | 2 answers | 0

2

answers

Question


How to access app designer GUI pushbutton callback inside my function?
Hello, I'm building a GUI via AppDesigner. I have 2 push buttons: pushBtn_A & pushBtn_B. pushBtn_A has its own "button pushe...

2 years ago | 1 answer | 0

1

answer

Question


How to create XML file without the first line of <?xml version="1.0" encoding="utf-8"?>
Hello, if I use: DOMnode = readxml(my_file_name_source); writexml(DOMnode , my_file_name_target); I'll get the same XML file...

2 years ago | 1 answer | 0

1

answer

Question


How to make section folding have an extra space (empty lines) between sections?
Hello, in previous MATLAB versions (e.g 2015) you could introduce empty lines to make spaces between sections once they are f...

2 years ago | 2 answers | 0

2

answers

Question


How to align xml file?
Hey, I'm using import matlab.io.xml.dom.* doc_A = parseFile(Parser , file_A_fullPath); doc_B = parseFile(Parser , file_B_...

2 years ago | 1 answer | 0

1

answer

Question


How to replace a child node in a XML file?
Hi, I have the following XML file (assume it's file name is moose.xml): Is there a way I can take all the content of "Module...

2 years ago | 1 answer | 0

1

answer

Question


How to add multiple styles to my uiTree?
*** using MATLAB 2021b *** Hello, I have a simple uiTree, with several nodes. I'd like to update it's nodes (by deleting exist...

2 years ago | 1 answer | 0

1

answer

Question


Why "addStyle" doesn't work for uiTree?
Hello, I have MATLAB 2020b. Try to test the code in the "addStyle" help page (the one for uiTree): https://www.mathworks.com/h...

2 years ago | 1 answer | 0

1

answer

Question


Can I see the text of a compiled *.m file?
Hello, I've discovered that if I have a compiled app (via Matlab deploytool), I can see all it's *.m files in AppData / Local...

2 years ago | 2 answers | 0

2

answers

Question


How to copy uitree content in AppDesigner from app.uitree_1 to app.uitree_2?
Hello, is there any simple (or complex) way to copy THE FULL TREE from object A (app.uitree_A) to object B (app.uitree_B)? See...

2 years ago | 1 answer | 1

1

answer

Question


How to load a struct to an uitree in AppDesigner?
Hello, I have an uitree in my AppDesigner GUI. Is there a fast & convenient way to load a struct into my Tree. My struct can ...

2 years ago | 1 answer | 0

1

answer

Question


Is there a way to create "sub-folding" / "sub-sections"?
Hi, I know I can create sections in my script editor with %% Question is, can I make several layers of 'sectioning'? I mean...

2 years ago | 1 answer | 0

1

answer

Question


Can I store data to excel file from my stand alone APP?
Hello, I've created a stand alone executable via Matlab. It has a feature which updates a specific excel file. I can also read ...

2 years ago | 1 answer | 0

1

answer

Question


Code folding in MATLAB 2020b? (LIVE SCRIPT)
Hello, can I fold my sections in Live Script files (2020b ver)? Similar to folding sections determined by %% in regular scri...

3 years ago | 1 answer | 0

1

answer

Question


How to run Classification Learner App on multiple data sets?
Hello, I have 50 data sets. That is 50 tables. I have no problem to insert each one manually and by using Classification Learne...

3 years ago | 1 answer | 1

1

answer

Question


How to create dialog box with disabled edit fields?
Hello, I'd like to write a function, with input would be cell (see example image below) and the output should be a dialog ...

3 years ago | 0 answers | 0

0

answers

Question


How to wait for external executable to close?
Hey, I'm using system command to run an external executable (Win 10 , MALTAB 2015a). In this exe the user required to perfor...

3 years ago | 1 answer | 0

1

answer

Question


How to open Matlab with specific scripts in my editor?
Let's assume I'm working on 2 different projects. For project A, I'm using my_script_1.m , my_script_2.m and my_script_3.m For...

3 years ago | 2 answers | 0

2

answers

Question


Integrating C# code into Simulink?
Hello, I know I can take C / C++ code and add it as a "black box" to my Simulink model. Can I do it with C# (C sharp) code...

3 years ago | 1 answer | 0

1

answer

Load more