The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 matlab imports

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
scalpa Posted - 03/26/2024 : 10:14:05 AM
Origin Ver. originpro 2024

Hello,
Importing a Matlab file with its hierarchical structure, I get a worksheet with a column in which each row is a link to a worksheet. when I click on this link, it creates and fill a new worksheet as it should. How can I program the same thing with LAbtalk ? ie open all or a fraction of these links?

thanks a lot !

Psilberz

6   L A T E S T    R E P L I E S    (Newest First)
scalpa Posted - 04/10/2024 : 06:42:39 AM
that's great !
Thank you so much,

best

P
jasmine_chan Posted - 04/09/2024 : 10:23:52 PM
window -a MatrixBook1 ; // Activate MatrixBook1 window by name
page.active$ = MatrixSheet3; // Activate a matrixsheet by name
wks.active = 78; // Activate the 78th matrix object
scalpa Posted - 04/09/2024 : 07:01:54 AM
Hello minimax,
I'm sorry I was not clear. the structure of my file is such that I have a MatrixBook that contains MatrixSheets. Each Sheet is structured in such a way that it is a stack of matrices (or images). So each sheet is acually 150 images that I can nagivate with the slider. my question is : what is the right LabTalk syntax to select say image 78 of MatrixSheet3 of MatrixBook1 ?
thanks again for your help
Best,
P
minimax Posted - 04/09/2024 : 01:39:06 AM
Hi Psilberz,

What does "nb i" mean? in your "matrix nb i in this matrix sheet".

Is it some abbreviation?

You can click the D icon on the top right corner, which will show each matrix object index on the popup menu, clicking it will activate the corresponding object.

scalpa Posted - 04/08/2024 : 10:18:21 AM
thanks minimax,

that's what I suspected.
you're right, connecting to the matlab file is the way to go. now, I have 150 files under one tab (one sheet) in the matrix book (and several similar sheets). I can see them with the slider. However, I can't find the way to get them individualy. how do I get the matrix nb i in this matrix sheet ?

sorry for the basic question and thanks in advance,

best,
Psilberz
minimax Posted - 04/01/2024 : 03:11:13 AM
Hi Psilberz,

There is probably no Labtalk access on it.

Have you tried the Matlab Connector? (Data menu - Connect to File - MATLAB)

It provides a different way to import and arrange the data and does not require clicking on worksheet cells to show the data.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000