loadweb

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 4.0, Creation date: 2017-07-03, Last change: 2025-09-14

loads mat files from an web url

Description

This function reduces the size of the SG-Lib Toolbox since the '.mat' files and the directories can be downloaded once into the user directory.
if parameter overwr=false; the filename will be "downloaded_mname"
if parameter overwr=true; the filename will be "mname"
Try:
'AAruffo_surf.mat' (3.6 MByte) = Geometry of some human arms
'JACO_robot.mat' (6.1 MByte) = Geometry of the JACO robot structure
'AIM_SGrobot.mat' (0.1 MByte)
'AIM_Patientmodel.mat' ( 5MByte) = 216 x 216 x 26 Slices of a Human Head CT Voxel model
'ModulKegelradwelle_1.mat' (0.2 MByte)
'NDI_STLs.mat' (0.1 MByte) = Geometry of the NDI mounting post for spheres
'IntelRealsense.mat' = pointcloud/vertexlist of VL_D300 and VL_D415
'CAD_pictures.mat' = Camera pictures of motors and printed circuit boards
Try also files that are no mat files
'Posebasecabinet.APD' - Pose syntheses ascii file

See Also: , webdownload

Example Illustration

 missing image of loadweb(mname,overwr,urlp)

Syntax

wname=loadweb(mname,[overwr,urlp])

Input Parameter

mname: name and extension of the file
overwr: true=overwrite; default is false.
urlp: web path; default is 'http://www.mimed.mw.tum.de/fileadmin/w00bhh/www/Matlab_Toolboxes/'

Output Parameter

wname: full path to loaded file

Examples


loadweb('JACO_robot.mat') % loads the downloaded file
loadweb('JACO_robot.mat',true) % replaces the original file by the downloaded file
loadweb('Posebasecabinet.APD',true)
loadweb('ARDUINO_MKR1000_Camera.png',true)
loadweb('ARDUINO_MKR1000_EAGLE.jpg',true)
loadweb ('Example_Arduino.slx',true)




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21